Tooltip for volume slider now includes a %.
parent
df2fa22a93
commit
bafb6485f4
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue