Fix taps on judged circles changing cursor position

This commit is contained in:
Dan Balasescu 2024-05-14 01:23:55 +09:00
parent 260c224619
commit ff0c0d54c9
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public bool CheckScreenSpaceActionPressJudgeable(Vector2 screenSpacePosition) =>
//
// Based on user feedback of more nuanced scenarios (where touch doesn't behave as expected),
// this can be expanded to a more complex implementation, but I'd still want to keep it as simple as we can.
NonPositionalInputQueue.OfType<DrawableHitCircle.HitReceptor>().Any(c => c.ReceivePositionalInputAt(screenSpacePosition));
NonPositionalInputQueue.OfType<DrawableHitCircle.HitReceptor>().Any(c => c.CanBeHit() && c.ReceivePositionalInputAt(screenSpacePosition));
public OsuInputManager(RulesetInfo ruleset)
: base(ruleset, 0, SimultaneousBindingMode.Unique)