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

Felix Paul Kühne git at videolan.org
Sat Jan 7 18:03:25 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan  7 17:44:29 2012 +0100| [c0a55dc721f8e15198c37be0efe32be4934ee783] | committer: Felix Paul Kühne

macosx: fixed trivial appearance issue with the time slider's gray gradient

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

 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 54647ac..0682b45 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