Merge pull request #17653 from ajiiisai/footer-button-repeat

Handle repeated `OnPressed()` on `FooterButton` (without `FooterButtonRandom`)
This commit is contained in:
Dean Herbert
2022-04-05 10:46:52 +09:00
committed by GitHub

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;