1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Adjust fade length and easing.

This commit is contained in:
Dean Herbert 2017-04-10 17:25:56 +09:00
parent 15c1013f5b
commit 3a01cfccee
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -21,7 +21,7 @@ namespace osu.Game.Screens.Play
private SampleChannel retrySample;
private Box overlay;
private const int activate_delay = 500;
private const int activate_delay = 400;
private const int fadeout_delay = 200;
private bool fired;
@ -51,7 +51,7 @@ namespace osu.Game.Screens.Play
if (args.Key == Key.Tilde)
{
overlay.FadeIn(activate_delay);
overlay.FadeIn(activate_delay, EasingTypes.Out);
return true;
}
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Play
{
if (args.Key == Key.Tilde && !fired)
{
overlay.FadeOut(fadeout_delay);
overlay.FadeOut(fadeout_delay, EasingTypes.Out);
return true;
}