[vlc-commits] macosx: fixed trivial appearance issue with the time slider's gray gradient

Felix Paul Kühne git at videolan.org
Sun Jan 8 01:22:54 CET 2012


vlc/vlc-1.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan  7 17:44:29 2012 +0100| [f6c874c99d01e43a12946c6815740d13db0ced23] | committer: Jean-Baptiste Kempf

macosx: fixed trivial appearance issue with the time slider's gray gradient
(cherry picked from commit c0a55dc721f8e15198c37be0efe32be4934ee783)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/macosx/MainWindow.m |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 7b70c89..89d5fde 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -418,6 +418,12 @@ static VLCMainWindow *_o_sharedInstance = nil;
     }
     else
     {
+        NSRect frame;
+        frame = [o_time_sld_fancygradient_view frame];
+        frame.size.height = frame.size.height - 1;
+        frame.origin.y = frame.origin.y + 1;
+        [o_time_sld_fancygradient_view setFrame: frame];
+
         [o_video_view setFrame: [o_split_view frame]];
         [o_playlist_table setBorderType: NSNoBorder];
         [o_sidebar_scrollview setBorderType: NSNoBorder];



More information about the vlc-commits mailing list