1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:33:01 +08:00

Revert "Remove now redundant inclusion of TouchMoveEvent in OsuInputManager.Handle"

This reverts commit bc1f1f35b5.
This commit is contained in:
Salman Ahmed 2021-12-10 17:13:13 +03:00
parent bc1f1f35b5
commit cf30411288

View File

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