mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 05:57:19 +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…
x
Reference in New Issue
Block a user