1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +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 (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;