1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 15:53:21 +08:00

Don't handle menu buttons when Shift or Ctrl or Alt is pressed.

This commit is contained in:
smoogipooo 2017-03-03 12:41:45 +09:00
parent febdfd5de4
commit 062d8ddc7c

View File

@ -259,7 +259,7 @@ namespace osu.Game.Screens.Menu
{ {
if (args.Repeat) return false; 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(); trigger();
return true; return true;