Update editor cases where repeat should not be handled

This commit is contained in:
Dean Herbert
2021-11-18 12:36:15 +09:00
parent 3de8125eac
commit 7599efac30
2 changed files with 9 additions and 0 deletions

View File

@ -393,6 +393,9 @@ namespace osu.Game.Screens.Edit
return true;
case PlatformAction.Save:
if (e.Repeat)
return false;
Save();
return true;
}
@ -457,6 +460,9 @@ namespace osu.Game.Screens.Edit
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
{
if (e.Repeat)
return false;
switch (e.Action)
{
case GlobalAction.Back: