Clicking on canvas during Inspect with selected node highlights the wrong thing
Open
bug
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
To reproduce:
1, Run a program with lots of large translated shapes over most of the screen.
2. Click Inspect.
3. Highlight a leaf node of some kind underneath a `translated` function, so that the canvas focuses on just that node and draws it at its untranslated location.
4. Click on the canvas.
* Expected behavior: The shape that you clicked on, if any, in the focused picture becomes the new focus.
* Actual behavior: The shape at that coordinate in the **original** picture becomes the new focus.
Basically, it looks like we're doing hit testing on the wrong picture!
Contributor guide
Assessment
This issue has not been assessed yet.