mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Add note about CheckScreenSpaceActionPresJudgeable
being naive
This commit is contained in:
parent
e4a79d8581
commit
1cde90d55d
@ -43,6 +43,10 @@ namespace osu.Game.Rulesets.Osu
|
||||
=> 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
Block a user