Commit 1036774c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/VLC_app: Leave a little room at the bottom of the window when the playlist is collapsed...

parent 0668d607
......@@ -316,7 +316,7 @@
[[self animator] setFrame:frame display:YES];
}
else
[[self animator] setContentHeight:[mainSplitView bounds].size.height + navigatorHeight + [mainSplitView dividerThickness]];
[[self animator] setContentHeight:[[self contentView] frame].size.height + navigatorHeight ];
/* Hack, because sliding cause some glitches */
[navigatorView moveSubviewsToVisible];
}
......@@ -324,7 +324,7 @@
{
/* Hide the navigator view (playlist view) */
navigatorHeight = [navigatorView bounds].size.height;
[[self animator] setContentHeight:[mainSplitView bounds].origin.y + [mainSplitView bounds].size.height - navigatorHeight];
[[self animator] setContentHeight:[[self contentView] frame].size.height - navigatorHeight];
/* Hack, because sliding cause some glitches */
[navigatorView moveSubviewsToVisible];
}
......
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