Open webmaxpro opened 4 months ago
Looke like this issue my be here:
var cloneTrans = trans.clone({
id: 'trans' + id,
});
It may be better to create a new transformer to not mess things.
A new transformer can certainly help. The problem is that in the original code I have a lot of eventListenetrs and other functions on the transformer. And all this will have to be repeated for the new transformer. In the clone they were all copied.
And there is obviously some bug, because resizing or rotating does not produce an error, but moving does.....
Good day. I have created an example for you here: https://jsbin.com/dobives/edit?js,output
I need to place an icon in the rotation anchor. And I have implemented it successfully. I also need to make the object copyable. And now on the copied object the rotation icon behaves strangely.
How to test: