[vlc-commits] macosx: fixed drawing issue when expanding the main window after collapsing

Felix Paul Kühne git at videolan.org
Sat Aug 25 13:10:10 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Aug 25 13:09:35 2012 +0200| [efbad0590c14a8f7103f0759ad188d4b85577afd] | committer: Felix Paul Kühne

macosx: fixed drawing issue when expanding the main window after collapsing

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index d6bda9f..4e0d3de 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -984,7 +984,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 {
     NSRect plrect;
     plrect = [o_playlist_table frame];
-    plrect.size.height = i_lastSplitViewHeight - 19.0; // actual pl top bar height, which differs from its frame
+    plrect.size.height = i_lastSplitViewHeight - 20.0; // actual pl top bar height, which differs from its frame
     [[o_playlist_table animator] setFrame: plrect];
 
     NSRect rightSplitRect;
@@ -992,7 +992,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     plrect = [o_dropzone_box frame];
     plrect.origin.x = (rightSplitRect.size.width - plrect.size.width) / 2;
     plrect.origin.y = (rightSplitRect.size.height - plrect.size.height) / 2;
-    [[o_playlist_table animator] setFrame: plrect];
+    [[o_dropzone_box animator] setFrame: plrect];
 }
 
 - (void)makeSplitViewVisible



More information about the vlc-commits mailing list