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

Add ability to quick exit from results screen

This commit is contained in:
Dean Herbert 2024-04-18 12:02:49 +08:00
parent 15d286e57d
commit f92833b588
No known key found for this signature in database

View File

@ -191,6 +191,16 @@ namespace osu.Game.Screens.Ranking
});
}
AddInternal(new HotkeyExitOverlay
{
Action = () =>
{
if (!this.IsCurrentScreen()) return;
this.Exit();
},
});
if (player != null && AllowRetry)
{
buttons.Add(new RetryButton { Width = 300 });