mirror of
https://github.com/ppy/osu.git
synced 2025-03-01 00:12:56 +08:00
Reduce "wait time" in case restarting the map
This commit is contained in:
parent
99e07aa09a
commit
d8d7423698
@ -384,9 +384,10 @@ namespace osu.Game.Screens.Play
|
|||||||
private void contentIn()
|
private void contentIn()
|
||||||
{
|
{
|
||||||
MetadataInfo.Loading = true;
|
MetadataInfo.Loading = true;
|
||||||
|
int scaleContentTime = restartCount > 0 ? 65 : 650;
|
||||||
|
|
||||||
content.FadeInFromZero(400);
|
content.FadeInFromZero(400);
|
||||||
content.ScaleTo(1, 650, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
|
content.ScaleTo(1, scaleContentTime, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
|
||||||
lowPassFilter.CutoffTo(1000, 650, Easing.OutQuint);
|
lowPassFilter.CutoffTo(1000, 650, Easing.OutQuint);
|
||||||
highPassFilter.CutoffTo(300).Then().CutoffTo(0, 1250); // 1250 is to line up with the appearance of MetadataInfo (750 delay + 500 fade-in)
|
highPassFilter.CutoffTo(300).Then().CutoffTo(0, 1250); // 1250 is to line up with the appearance of MetadataInfo (750 delay + 500 fade-in)
|
||||||
|
|
||||||
@ -468,7 +469,7 @@ namespace osu.Game.Screens.Play
|
|||||||
else
|
else
|
||||||
this.Exit();
|
this.Exit();
|
||||||
});
|
});
|
||||||
}, 500);
|
}, CurrentPlayer?.RestartCount > 0 ? 50 : 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cancelLoad()
|
private void cancelLoad()
|
||||||
|
Loading…
Reference in New Issue
Block a user