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:
commit
cbc5b405af
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user