[vlc-commits] macosx: fixed another manifestation of the progress bar flickering ( close #6212)

Felix Paul Kühne git at videolan.org
Sun Feb 26 19:50:44 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | 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];



More information about the vlc-commits mailing list