Remi05 / outlines

An app to help review your UI implementation.
MIT License
7 stars 0 forks source link

[Snapshot Inspector] Can't target children elements outside parent rect #100

Closed Remi05 closed 2 years ago

Remi05 commented 2 years ago

The Snapshot inspector assumes that all children elements will be contained in their parent element's rect, so when it crawls the UI tree, it will stop at the parent if it doesn't include the targeted point, even though one its children might contain the point (eg. the Start menu's All Apps groups). A solution would be to check all leaf elements, though we should analyze the impact on performance this might have.

Screenshots: image

Remi05 commented 2 years ago

Fixed with commit 4a22f06eecfcf373dcec8e7e79ee64f8e2ab85fa.