[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:56:47 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Feb 26 19:50:21 2012 +0100| [01887047253b7d87db739d820c6a03b7ccaaa63d] | committer: Felix Paul Kühne

macosx: fixed another manifestation of the progress bar flickering (close #6212)
(cherry picked from commit 14e37593db2c700f2235b62f5995f73323029bfe)

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

 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 e0b4244..46be64e 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