mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 10:49:53 +08:00
Check for exact key
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user