1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Check for exact key

This commit is contained in:
smoogipoo 2019-09-24 15:09:08 +09:00
parent e5b14ce74d
commit 4555ecc5e0

View File

@ -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;