LayoutInspectorV2-Pro
LayoutInspectorV2-Pro copied to clipboard
fix: account for the View's scroll value in the previewBox calculation
Previously the previewBox calculation did not account for the View's scroll value which would lead to incorrect coordinate calculations in scenarios like ViewPager.
There also seem to be some issues with the rendering I need to make further adjustments.
It appears the issue wasn't introduced by my changes. reverting to the old code also encounters incorrect device screenshots in certain cases. The cause remains unidentified. I will investigate further and open a new pull request once the cause is determined.