Merge pull request #20565 from peppy/random-dont-handle-repeat

Change song select random key binding to not handle key repeat
This commit is contained in:
Dan Balasescu 2022-10-04 13:03:19 +09:00 committed by GitHub
commit f7f0aa1548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
return false;
}
TriggerClick();
if (!e.Repeat)
TriggerClick();
return true;
}