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
Thanks for making this awesome component available.
When I use the AngleRuler control to rotate an image, it does not seem to rotate around the image center axis, as compared to other image editing tools.
It does seem to rotate around center if the image has been zoomed in. It's just in the initial state when image fits inside the overlay that it does not rotate around the center axis.
Bug appears to be in Rotatable.setStraightenAngle()
Is this a bug or is this as designed?
Thanks.
The text was updated successfully, but these errors were encountered:
I think this is a design, because when rotating, in addition to ensuring that rotate around the center axis, you also need to ensure that there is always image content in the cropping box (like Photos App), and crop out as little content as possible on the edges.
It also has some problems now. Like the situation you mentioned, the reason is that when calculating, there are actually many options to meet the above requirements, but the current logic will tend to choose the upper left position (rather than the most central position). ), maybe you can try to modify it and submit a PR, I think this is a more general option, and it would be better if it can be fully tested in the product delivered to users. I don't have time to do it right now
Thanks for making this awesome component available.
When I use the AngleRuler control to rotate an image, it does not seem to rotate around the image center axis, as compared to other image editing tools.
It does seem to rotate around center if the image has been zoomed in. It's just in the initial state when image fits inside the overlay that it does not rotate around the center axis.
Is this a bug or is this as designed?
Thanks.
The text was updated successfully, but these errors were encountered: