1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 09:09:54 +08:00

Update with keybinding changes

This commit is contained in:
smoogipoo
2021-09-16 18:26:12 +09:00
Unverified
parent d3767ec4e9
commit f9d5abff8a
77 changed files with 302 additions and 257 deletions
@@ -30,9 +30,9 @@ namespace osu.Game.Graphics.UserInterface
PlaceholderText = "type to search";
}
public override bool OnPressed(PlatformAction action)
public override bool OnPressed(KeyBindingPressEvent<PlatformAction> e)
{
switch (action)
switch (e.Action)
{
case PlatformAction.MoveBackwardLine:
case PlatformAction.MoveForwardLine:
@@ -43,7 +43,7 @@ namespace osu.Game.Graphics.UserInterface
return false;
}
return base.OnPressed(action);
return base.OnPressed(e);
}
protected override bool OnKeyDown(KeyDownEvent e)