1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Fix build errors

This commit is contained in:
Opelkuh 2021-09-19 04:39:35 +02:00
parent 1d7d779f66
commit af4c3727d7

View File

@ -127,15 +127,15 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
return base.OnMouseMove(e);
}
public bool OnPressed(OsuAction action)
public bool OnPressed(KeyBindingPressEvent<OsuAction> e)
{
handleInput(action, true);
handleInput(e.Action, true);
return false;
}
public void OnReleased(OsuAction action)
public void OnReleased(KeyBindingReleaseEvent<OsuAction> e)
{
handleInput(action, false);
handleInput(e.Action, false);
}
private bool leftPressed;