1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00

Improve transition when retrying a beatmap.

This commit is contained in:
Dean Herbert 2017-02-22 14:14:37 +09:00
parent d00ea4564f
commit 2d2660c1c5
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -240,21 +240,6 @@ namespace osu.Game.Screens.Play
});
}
protected override void LoadComplete()
{
base.LoadComplete();
Content.Delay(250);
Content.FadeIn(250);
Delay(750);
Schedule(() =>
{
sourceClock.Start();
initializeSkipButton();
});
}
private void onPass()
{
Delay(1000);
@ -290,6 +275,22 @@ namespace osu.Game.Screens.Play
Content.Alpha = 0;
dimLevel.ValueChanged += dimChanged;
Content.Delay(250);
Content.FadeIn(250);
Delay(750);
Schedule(() =>
{
sourceClock.Start();
initializeSkipButton();
});
}
protected override void OnSuspending(Screen next)
{
Content.FadeOut(350);
base.OnSuspending(next);
}
protected override bool OnExiting(Screen next)