1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-05 11:43:01 +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
parent a992682276
commit 949610c8a4

View File

@ -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)