vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Feb 26 
19:50:21 2012 +0100| [14e37593db2c700f2235b62f5995f73323029bfe] | committer: 
Felix Paul Kühne

macosx: fixed another manifestation of the progress bar flickering (close #6212)

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index b22f0ab..41d06e3 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1257,6 +1257,13 @@ return YES;
     }
     else
     {
+        NSRect frame;
+        frame = [o_time_sld_fancygradient_view frame];
+        if (frame.size.width > 0)
+        {
+            frame.size.width = 0;
+            [o_time_sld_fancygradient_view setFrame: frame];
+        }
         [o_time_sld_fancygradient_view setHidden: YES];
     }
     [o_pool release];

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to