mirror of https://github.com/ppy/osu
Merge pull request #27922 from peppy/quick-exit-from-results
Add ability to quick exit from results screen
This commit is contained in:
commit
89a4a6878f
|
@ -390,6 +390,15 @@ public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
|||
|
||||
switch (e.Action)
|
||||
{
|
||||
case GlobalAction.QuickExit:
|
||||
if (this.IsCurrentScreen())
|
||||
{
|
||||
this.Exit();
|
||||
return true;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case GlobalAction.Select:
|
||||
StatisticsPanel.ToggleVisibility();
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue