[vlc-commits] macosx: fixed redraw issue when moving the time slider faster than intended

Felix Paul Kühne git at videolan.org
Wed Jul 27 11:04:30 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul 27 11:04:24 2011 +0200| [df7cc61772213153768f209d98e5060e9723a22f] | committer: Felix Paul Kühne

macosx: fixed redraw issue when moving the time slider faster than intended

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index fd514bf..92f38fc 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -651,7 +651,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
             [o_time_sld_fancygradient_view setHidden: NO];
             [o_time_sld_fancygradient_view setFrame: NSMakeRect( [o_time_sld_fancygradient_view frame].origin.x, [o_time_sld_fancygradient_view frame].origin.y, f_value, [o_time_sld_fancygradient_view frame].size.height )];
             [o_time_sld_fancygradient_view setNeedsDisplay:YES];
-            [o_time_sld_fancygradient_view displayIfNeeded];
+            [o_time_sld_middle_view setNeedsDisplay:YES];
         }
     }
     else



More information about the vlc-commits mailing list