[vlc-commits] macosx: fix time slider knob alignment in bright mode

Felix Paul Kühne git at videolan.org
Mon Mar 18 23:27:53 CET 2013


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 18 22:40:27 2013 +0100| [07f809f307688204689932b520ece3f5b0b001dc] | committer: Felix Paul Kühne

macosx: fix time slider knob alignment in bright mode
(cherry picked from commit 4caa39f04d760998a057a2d6affbbdad6c6f3c4a)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=07f809f307688204689932b520ece3f5b0b001dc
---

 modules/gui/macosx/misc.m |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index ef8ee5c..f044ac4 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -548,8 +548,6 @@ void _drawFrameInRect(NSRect frameRect)
     NSRect knobRect = [[self cell] knobRectFlipped:NO];
     if (b_dark)
         knobRect.origin.y+=2;
-    else
-        knobRect.origin.y+=1;
     [self drawKnobInRect: knobRect];
 }
 



More information about the vlc-commits mailing list