Commit 994b7c2f authored by Marvin Scholz's avatar Marvin Scholz

macosx: Speed up fscontroller animation

Increase fscontroller animation speed to 0.4s
instead of 0.7, which is quite slow.
parent f19a1aee
......@@ -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];
}
......
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