Commit 2477d7d0 authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not animate change between dropzone and playlist

This would result in an unpleasant black or grey area for
a short time, for instance when selecting the media library.
parent 84852c46
...@@ -592,14 +592,14 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -592,14 +592,14 @@ static VLCMainWindow *_o_sharedInstance = nil;
b_dropzone_active = YES; b_dropzone_active = YES;
[o_right_split_view addSubview: o_dropzone_view positioned:NSWindowAbove relativeTo:o_playlist_table]; [o_right_split_view addSubview: o_dropzone_view positioned:NSWindowAbove relativeTo:o_playlist_table];
[o_dropzone_view setFrame: [o_playlist_table frame]]; [o_dropzone_view setFrame: [o_playlist_table frame]];
[[o_playlist_table animator] setHidden:YES]; [o_playlist_table setHidden:YES];
} }
- (void)hideDropZone - (void)hideDropZone
{ {
b_dropzone_active = NO; b_dropzone_active = NO;
[o_dropzone_view removeFromSuperview]; [o_dropzone_view removeFromSuperview];
[[o_playlist_table animator] setHidden: NO]; [o_playlist_table setHidden: NO];
} }
- (void)hideSplitView:(BOOL)b_with_resize - (void)hideSplitView:(BOOL)b_with_resize
......
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