1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 01:17:19 +08:00

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
commit cbc5b405af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;