1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 06:23:39 +08:00

Merge pull request #17617 from ajiiisai/proper-toggable-shortcuts-for-overlays

Make overlay shortcuts able to be toggled instead of repeatable
This commit is contained in:
Dean Herbert
2022-04-04 13:46:42 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -190,7 +190,7 @@ namespace osu.Game.Overlays.Toolbar
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
{
if (e.Action == Hotkey)
if (e.Action == Hotkey && !e.Repeat)
{
TriggerClick();
return true;