[vlc-commits] macosx: Fix volume slider knob thickness

Marvin Scholz git at videolan.org
Mon Aug 21 18:04:51 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Aug 21 17:58:45 2017 +0200| [050a66fad1d18eabb6d0a4f9205b009cf1ad1583] | committer: Marvin Scholz

macosx: Fix volume slider knob thickness

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=050a66fad1d18eabb6d0a4f9205b009cf1ad1583
---

 modules/gui/macosx/VLCVolumeSliderCell.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCVolumeSliderCell.m b/modules/gui/macosx/VLCVolumeSliderCell.m
index 6646358b65..2bd98fd6b5 100644
--- a/modules/gui/macosx/VLCVolumeSliderCell.m
+++ b/modules/gui/macosx/VLCVolumeSliderCell.m
@@ -127,7 +127,7 @@
 - (void)drawKnob:(NSRect)knobRect
 {
     // Draw knob
-    NSBezierPath* knobPath = [NSBezierPath bezierPathWithOvalInRect:NSInsetRect(knobRect, 5.0, 5.0)];
+    NSBezierPath* knobPath = [NSBezierPath bezierPathWithOvalInRect:NSInsetRect(knobRect, 1.0, 1.0)];
     if (self.isHighlighted) {
         if (_knobGradient) {
             [_knobGradient drawInBezierPath:knobPath angle:270];



More information about the vlc-commits mailing list