You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had this kind of behaviour before, and I can't explain it. It was worse before when I was rendering the ROIs inside the zoom transform (when zoomed in a lot, the jittering was much more).
Given that it goes back and fourth, I can only assume it is some sort of precision problem? I've tried to log the computed position of the fixed corner and it only varies back and forth of an order of 10^-13...
With a few tests, I've seen that if the css center of rotation is the fixed corner, then the jiggling disappears, so I'm going with this approach, expressing the coordinates with a different center of rotation depending on the action performed.
https://react-roi.pages.dev/?path=/story/full-examples--crop-image
When I move the left part, the right part should be fixed.
The text was updated successfully, but these errors were encountered: