Commit 19bbb8cc authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix wrong size of playlist when using podcast and minimal view

parent 2b6a8709
......@@ -453,9 +453,15 @@ static VLCMainWindow *_o_sharedInstance = nil;
dropzoneboxRect.origin.x = (plrect.size.width - dropzoneboxRect.size.width) / 2;
dropzoneboxRect.origin.y = (plrect.size.height - dropzoneboxRect.size.height) / 2;
[o_playlist_table setFrame: plrect];
[o_dropzone_view setFrame: plrect];
[o_dropzone_box setFrame: dropzoneboxRect];
if (b_podcastView_displayed) {
plrect.size.height -= [o_podcast_view frame].size.height;
plrect.origin.y = [o_podcast_view frame].size.height;
}
[o_playlist_table setFrame: plrect];
[o_dropzone_view setNeedsDisplay: YES];
[o_playlist_table setNeedsDisplay: YES];
}
......
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