1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:49:53 +08:00

Add confirmation when pressing 'q' to quit at the main menu

Kinda a weird key. I feel like this deserves a confirmation step unlike
mouse clicking the exit button.

Addresses https://github.com/ppy/osu/discussions/30471.
This commit is contained in:
Dean Herbert
2024-11-13 19:27:20 +09:00
Unverified
parent b82f420b52
commit 68945daa40
7 changed files with 28 additions and 27 deletions
@@ -110,7 +110,7 @@ namespace osu.Game.Tests.Visual.UserInterface
break;
case Key.Q:
buttons.OnExit = action;
buttons.OnExit = _ => action();
break;
case Key.O: