mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:12:54 +08:00
Allow any key to trigger the initial osu! cookie
This commit is contained in:
parent
c2f5376e82
commit
e89441951c
@ -195,13 +195,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (State == ButtonSystemState.Initial)
|
if (State == ButtonSystemState.Initial)
|
||||||
{
|
|
||||||
if (buttonsTopLevel.Any(b => e.Key == b.TriggerKey))
|
|
||||||
{
|
{
|
||||||
logo?.TriggerClick();
|
logo?.TriggerClick();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return base.OnKeyDown(e);
|
return base.OnKeyDown(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user