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:
parent
15d286e57d
commit
f92833b588
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user