mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 10:33:22 +08:00
Fix black layer not fading fast enough when exiting quickly from quick restart
This commit is contained in:
parent
a5fab23e44
commit
0a1f589c80
@ -331,6 +331,9 @@ namespace osu.Game.Screens.Play
|
||||
cancelLoad();
|
||||
ContentOut();
|
||||
|
||||
quickRestartBlackLayer?.FadeOut(100, Easing.OutQuint).Expire();
|
||||
quickRestartBlackLayer = null;
|
||||
|
||||
// Ensure the screen doesn't expire until all the outwards fade operations have completed.
|
||||
this.Delay(CONTENT_OUT_DURATION).FadeOut();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user