Commit efbad059 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 7f4f7d34
...@@ -984,7 +984,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -984,7 +984,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
{ {
NSRect plrect; NSRect plrect;
plrect = [o_playlist_table frame]; 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]; [[o_playlist_table animator] setFrame: plrect];
NSRect rightSplitRect; NSRect rightSplitRect;
...@@ -992,7 +992,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -992,7 +992,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
plrect = [o_dropzone_box frame]; plrect = [o_dropzone_box frame];
plrect.origin.x = (rightSplitRect.size.width - plrect.size.width) / 2; plrect.origin.x = (rightSplitRect.size.width - plrect.size.width) / 2;
plrect.origin.y = (rightSplitRect.size.height - plrect.size.height) / 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 - (void)makeSplitViewVisible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment