1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Remove now redundant inclusion of TouchMoveEvent in OsuInputManager.Handle

Now it's handled separately via the `HandleMouseTouchStateChange` override.
This commit is contained in:
Salman Ahmed 2021-12-10 16:40:51 +03:00
parent 5a953f3811
commit bc1f1f35b5

View File

@ -35,7 +35,7 @@ namespace osu.Game.Rulesets.Osu
protected override bool Handle(UIEvent e)
{
if ((e is MouseMoveEvent || e is TouchMoveEvent) && !AllowUserCursorMovement) return false;
if (e is MouseMoveEvent && !AllowUserCursorMovement) return false;
return base.Handle(e);
}