mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Check for exact key
This commit is contained in:
parent
e5b14ce74d
commit
4555ecc5e0
@ -185,7 +185,7 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
if (State == ButtonSystemState.Initial)
|
||||
{
|
||||
if (buttonsTopLevel.Any(b => e.PressedKeys.Contains(b.TriggerKey)))
|
||||
if (buttonsTopLevel.Any(b => e.Key == b.TriggerKey))
|
||||
{
|
||||
logo?.Click();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user