Add note about `CheckScreenSpaceActionPresJudgeable` being naive

This commit is contained in:
Dean Herbert 2023-01-25 15:03:47 +09:00
parent e4a79d8581
commit 1cde90d55d
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ protected override KeyBindingContainer<OsuAction> CreateKeyBindingContainer(Rule
=> new OsuKeyBindingContainer(ruleset, variant, unique);
public bool CheckScreenSpaceActionPressJudgeable(Vector2 screenSpacePosition) =>
// This is a very naive but simple approach.
//
// 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));
public OsuInputManager(RulesetInfo ruleset)