mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 13:22:55 +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 (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;
|
||||||
|
Loading…
Reference in New Issue
Block a user