Tooltip for volume slider now includes a %.
This commit is contained in:
parent
df2fa22a93
commit
bafb6485f4
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
double value = [self doubleValue];
|
double value = [self doubleValue];
|
||||||
double volume = linearToLogarithmic(value);
|
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];
|
NSSize size = [toolTip suggestedSizeForTooltip:text];
|
||||||
NSPoint mouseLocation = [NSEvent mouseLocation];
|
NSPoint mouseLocation = [NSEvent mouseLocation];
|
||||||
|
|
Loading…
Reference in a new issue