]> git.sesse.net Git - vlc/commitdiff
macosx: do not animate change between dropzone and playlist
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sun, 23 Feb 2014 16:35:53 +0000 (17:35 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Mon, 24 Feb 2014 14:08:12 +0000 (15:08 +0100)
This would result in an unpleasant black or grey area for
a short time, for instance when selecting the media library.

modules/gui/macosx/MainWindow.m

index ec66cfe85d2b4a531a601d95db65b04a2b1a4e2d..f0030b15186e18f5e93625cc50e03f1924129ab3 100644 (file)
@@ -592,14 +592,14 @@ static VLCMainWindow *_o_sharedInstance = nil;
     b_dropzone_active = YES;
     [o_right_split_view addSubview: o_dropzone_view positioned:NSWindowAbove relativeTo:o_playlist_table];
     [o_dropzone_view setFrame: [o_playlist_table frame]];
-    [[o_playlist_table animator] setHidden:YES];
+    [o_playlist_table setHidden:YES];
 }
 
 - (void)hideDropZone
 {
     b_dropzone_active = NO;
     [o_dropzone_view removeFromSuperview];
-    [[o_playlist_table animator] setHidden: NO];
+    [o_playlist_table setHidden: NO];
 }
 
 - (void)hideSplitView:(BOOL)b_with_resize