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:
parent
d00ea4564f
commit
2d2660c1c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user