[vlc-commits] macosx: do not animate change between dropzone and playlist
David Fuhrmann
git at videolan.org
Mon Feb 24 15:28:20 CET 2014
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Feb 23 17:35:53 2014 +0100| [2477d7d037ed349c3ecb51051d417dd75c08ac68] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2477d7d037ed349c3ecb51051d417dd75c08ac68
---
modules/gui/macosx/MainWindow.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index ec66cfe..f0030b1 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -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
More information about the vlc-commits
mailing list