From a992682276cd49d1e2f71b730ddedf30bf618ece Mon Sep 17 00:00:00 2001 From: Susko3 Date: Mon, 23 Jan 2023 21:46:01 +0100 Subject: [PATCH] Fix `OsuTouchInputMapper` not handling all touches when using screen scaling --- osu.Game.Rulesets.Osu/UI/OsuTouchInputMapper.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game.Rulesets.Osu/UI/OsuTouchInputMapper.cs b/osu.Game.Rulesets.Osu/UI/OsuTouchInputMapper.cs index c75e179443..6c91d78e23 100644 --- a/osu.Game.Rulesets.Osu/UI/OsuTouchInputMapper.cs +++ b/osu.Game.Rulesets.Osu/UI/OsuTouchInputMapper.cs @@ -10,6 +10,7 @@ using osu.Framework.Input; using osu.Framework.Input.Events; using osu.Framework.Input.StateChanges; using osu.Game.Configuration; +using osuTK; namespace osu.Game.Rulesets.Osu.UI { @@ -38,6 +39,8 @@ namespace osu.Game.Rulesets.Osu.UI mouseDisabled = config.GetBindable(OsuSetting.MouseDisableButtons); } + public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true; + protected override void OnTouchMove(TouchMoveEvent e) { base.OnTouchMove(e);