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