Tooltip for volume slider now includes a %.

CQTexperiment
vspader 2009-02-28 10:18:32 -08:00
parent df2fa22a93
commit bafb6485f4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
double value = [self doubleValue];
double volume = linearToLogarithmic(value);
NSString *text = [[NSString alloc] initWithFormat:@"%0.lf", volume];
NSString *text = [[NSString alloc] initWithFormat:@"%0.lf%%", volume];
NSSize size = [toolTip suggestedSizeForTooltip:text];
NSPoint mouseLocation = [NSEvent mouseLocation];