mirror of https://github.com/ppy/osu
Add note about `CheckScreenSpaceActionPresJudgeable` being naive
This commit is contained in:
parent
e4a79d8581
commit
1cde90d55d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue