1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 18:19:54 +08:00

Add commentary as to why ReceivePositionalInputAt override is required

This commit is contained in:
Dean Herbert
2023-01-24 11:06:54 +09:00
Unverified
parent a992682276
commit 949610c8a4
@@ -39,6 +39,7 @@ namespace osu.Game.Rulesets.Osu.UI
mouseDisabled = config.GetBindable<bool>(OsuSetting.MouseDisableButtons);
}
// Required to handle touches outside of the playfield when screen scaling is enabled.
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => true;
protected override void OnTouchMove(TouchMoveEvent e)