Merge pull request #27922 from peppy/quick-exit-from-results

Add ability to quick exit from results screen
This commit is contained in:
Dan Balasescu 2024-04-22 16:01:13 +09:00 committed by GitHub
commit 89a4a6878f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -390,6 +390,15 @@ namespace osu.Game.Screens.Ranking
switch (e.Action)
{
case GlobalAction.QuickExit:
if (this.IsCurrentScreen())
{
this.Exit();
return true;
}
break;
case GlobalAction.Select:
StatisticsPanel.ToggleVisibility();
return true;