1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 11:07:25 +08:00

Merge pull request #30261 from peppy/faster-quick-retry

Decrease the time it takes to quick retry by ~650 ms
This commit is contained in:
Bartłomiej Dach 2024-10-14 10:24:35 +02:00 committed by GitHub
commit 120eb9adea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -455,7 +455,19 @@ namespace osu.Game.Screens.Play
MetadataInfo.Loading = true;
content.FadeInFromZero(500, Easing.OutQuint);
content.ScaleTo(1, 650, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
if (quickRestart)
{
prepareNewPlayer();
content.ScaleTo(1, 650, Easing.OutQuint);
}
else
{
content
.ScaleTo(1, 650, Easing.OutQuint)
.Then()
.Schedule(prepareNewPlayer);
}
using (BeginDelayedSequence(delayBeforeSideDisplays))
{