1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Handle repeated OnPressed() on FooterButton (without FooterButtonRandom)

This commit is contained in:
Ame 2022-04-05 00:33:41 +02:00
parent cbcbcd1a4a
commit 32c89f8643

View File

@ -174,7 +174,7 @@ namespace osu.Game.Screens.Select
public virtual bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
{
if (e.Action == Hotkey)
if (e.Action == Hotkey && !e.Repeat)
{
TriggerClick();
return true;