mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Merge pull request #11712 from peppy/fix-autopilot-touch-device
Fix AutoPilot mod failing to block touch input
This commit is contained in:
commit
8c56976ab8
@ -34,7 +34,7 @@ namespace osu.Game.Rulesets.Osu
|
|||||||
|
|
||||||
protected override bool Handle(UIEvent e)
|
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);
|
return base.Handle(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user