Commit ec9c851b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure the controller doesn't show nothing instead of the playlist.

parent 0aeff149
...@@ -2365,7 +2365,7 @@ end: ...@@ -2365,7 +2365,7 @@ end:
- (void)windowDidResize:(NSNotification *)notif - (void)windowDidResize:(NSNotification *)notif
{ {
if( [o_window frame].size.height > 200 && b_small_window ) if( [o_window contentRectForFrameRect:[o_window frame]].size.height > 169. && b_small_window )
{ {
/* If large and coming from small then show */ /* If large and coming from small then show */
[o_playlist_view setAutoresizesSubviews: YES]; [o_playlist_view setAutoresizesSubviews: 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