mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
Don't handle menu buttons when Shift or Ctrl or Alt is pressed.
This commit is contained in:
parent
febdfd5de4
commit
062d8ddc7c
@ -259,7 +259,7 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
|
||||
if (triggerKey == args.Key && triggerKey != Key.Unknown)
|
||||
if (triggerKey == args.Key && triggerKey != Key.Unknown && !(state.Keyboard.ControlPressed || state.Keyboard.ShiftPressed || state.Keyboard.AltPressed))
|
||||
{
|
||||
trigger();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user