mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
Merge pull request #17653 from ajiiisai/footer-button-repeat
Handle repeated `OnPressed()` on `FooterButton` (without `FooterButtonRandom`)
This commit is contained in:
@ -174,7 +174,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
public virtual bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
public virtual bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||||
{
|
{
|
||||||
if (e.Action == Hotkey)
|
if (e.Action == Hotkey && !e.Repeat)
|
||||||
{
|
{
|
||||||
TriggerClick();
|
TriggerClick();
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user