[vlc-commits] macosx: Speed up fscontroller animation
Marvin Scholz
git at videolan.org
Tue Dec 13 14:46:25 CET 2016
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Dec 13 14:26:57 2016 +0100| [994b7c2f0bbe5637b77075042bbb2950a1d47dca] | committer: Marvin Scholz
macosx: Speed up fscontroller animation
Increase fscontroller animation speed to 0.4s
instead of 0.7, which is quite slow.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=994b7c2f0bbe5637b77075042bbb2950a1d47dca
---
modules/gui/macosx/VLCFSPanelController.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index 6822fe1..12e4ada 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -265,7 +265,7 @@
- (void)fadeIn
{
[NSAnimationContext beginGrouping];
- [[NSAnimationContext currentContext] setDuration:0.7f];
+ [[NSAnimationContext currentContext] setDuration:0.4f];
[[self.window animator] setAlphaValue:1.0f];
[NSAnimationContext endGrouping];
@@ -275,7 +275,7 @@
- (void)fadeOut
{
[NSAnimationContext beginGrouping];
- [[NSAnimationContext currentContext] setDuration:0.7f];
+ [[NSAnimationContext currentContext] setDuration:0.4f];
[[self.window animator] setAlphaValue:0.0f];
[NSAnimationContext endGrouping];
}
More information about the vlc-commits
mailing list