Remi05 / outlines

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

Outlines are sometimes misaligned #85

Closed Remi05 closed 2 years ago

Remi05 commented 2 years ago

Element outlines now sometimes appear to be misaligned (the position and size don't exactly match the UI). I assume this is caused by the coordinate conversation we are doing. If we can avoid converting coordinates from physical to local and vice-versa, we might have a better accuracy.

Remi05 commented 2 years ago

Fixed with commit d52504c707b3758c23d9598f09581e330023cb3d.

Remi05 commented 2 years ago

Reverted fix due to regression to Snapshot inspector (commit 4f286e77b48fd1322afe76a2ecd9459bccfd852a).

Remi05 commented 2 years ago

Fixed differently with commit 84d810915a80596ff00983e01d3be3839541bb60, not sure if it is as accurate as avoiding coordinate conversion altogether, but it seems pretty good.