konvajs / konva

Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://konvajs.org/
Other
11.43k stars 918 forks source link

Rotating the object image using the rotate function #1731

Closed webmaxpro closed 7 months ago

webmaxpro commented 7 months ago

When I rotate an image object through the rotate function, its transformer does not rotate. If I change the object to a shape or an text, the transformer is also rotated. Image does not. If I change konvajs to version 7, the image is rotated correctly. In version 8 and 9 it does not. image-rotate

lavrton commented 7 months ago

Please make a little demo of the issue.

webmaxpro commented 7 months ago

I'm sorry. I realized the problem. I used useSingleNodeRotation: false for some reason. ¯_(ツ)_/¯