From bafb6485f48309a41f0855217a0efd6bf32b7d3f Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 28 Feb 2009 10:18:32 -0800 Subject: [PATCH] Tooltip for volume slider now includes a %. --- Window/VolumeSlider.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Window/VolumeSlider.m b/Window/VolumeSlider.m index 973269d12..28d048aff 100644 --- a/Window/VolumeSlider.m +++ b/Window/VolumeSlider.m @@ -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];