Update UI cases where repeat should not be handled

This commit is contained in:
Dean Herbert
2021-11-18 12:35:47 +09:00
parent 5fb5e0035c
commit 3de8125eac
21 changed files with 63 additions and 0 deletions

View File

@ -75,6 +75,9 @@ namespace osu.Game.Graphics.UserInterface
public virtual bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
{
if (e.Repeat)
return false;
if (!HasFocus) return false;
if (e.Action == GlobalAction.Back)