mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Adjust fade length and easing.
This commit is contained in:
@ -21,7 +21,7 @@ namespace osu.Game.Screens.Play
|
|||||||
private SampleChannel retrySample;
|
private SampleChannel retrySample;
|
||||||
private Box overlay;
|
private Box overlay;
|
||||||
|
|
||||||
private const int activate_delay = 500;
|
private const int activate_delay = 400;
|
||||||
private const int fadeout_delay = 200;
|
private const int fadeout_delay = 200;
|
||||||
|
|
||||||
private bool fired;
|
private bool fired;
|
||||||
@ -51,7 +51,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
if (args.Key == Key.Tilde)
|
if (args.Key == Key.Tilde)
|
||||||
{
|
{
|
||||||
overlay.FadeIn(activate_delay);
|
overlay.FadeIn(activate_delay, EasingTypes.Out);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
if (args.Key == Key.Tilde && !fired)
|
if (args.Key == Key.Tilde && !fired)
|
||||||
{
|
{
|
||||||
overlay.FadeOut(fadeout_delay);
|
overlay.FadeOut(fadeout_delay, EasingTypes.Out);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user