Skip to content

Check if parent node is LocationNode#299

Open
houcem-soued wants to merge 1 commit intoAndrewHartAR:developfrom
houcem-soued:develop
Open

Check if parent node is LocationNode#299
houcem-soued wants to merge 1 commit intoAndrewHartAR:developfrom
houcem-soued:develop

Conversation

@houcem-soued
Copy link

@houcem-soued houcem-soued commented Sep 19, 2022

Background

When user clicks on a node, the function locationNodeTouched(node:) is not triggered, since a sub-node is registered as the firstHitTest node and the casting of that node to a LocationNode is failing.

Breaking Changes

The idea is to check if one of the parents of the selected node is a LocationNode and in that case we trigger locationNodeTouched(node:)

PR Checklist

  • CI runs clean?
  • Appropriate label has been added to this PR (i.e., Bug, Enhancement, etc.).
  • Documentation has been added to all open, and public scoped methods and properties.
  • Changelog has been updated
  • Tests have have been added to all new features. (not a requirement, but helpful)
  • Image/GIFs have been added for all UI related changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant