mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Update editor cases where repeat should not be handled
This commit is contained in:
parent
3de8125eac
commit
7599efac30
@ -239,6 +239,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
public bool OnPressed(KeyBindingPressEvent<PlatformAction> e)
|
||||
{
|
||||
if (e.Repeat)
|
||||
return false;
|
||||
|
||||
switch (e.Action)
|
||||
{
|
||||
case PlatformAction.SelectAll:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user