mirror of https://github.com/ppy/osu
Fix AutoPilot mod failing to block touch input
This commit is contained in:
parent
a886000fbf
commit
695e46a358
|
@ -34,7 +34,7 @@ public OsuInputManager(RulesetInfo ruleset)
|
|||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue