mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Update UI cases where repeat should not be handled
This commit is contained in:
@ -64,6 +64,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||
{
|
||||
if (e.Repeat)
|
||||
return false;
|
||||
|
||||
switch (e.Action)
|
||||
{
|
||||
case GlobalAction.Back:
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user