DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.27k stars 1.67k forks source link

drag a rotated shape lead to memory leak #1089

Open JRTian opened 7 years ago

JRTian commented 7 years ago

in the reference, a transformation can be done like below // if you want you can append or prepend transformations el.transform("...t50,50");

I think that's the way to move a shape which has been rotated (transformed). I use this way when dragging a rotated shape then I find the transformation string is getting longer and longer and it leads to memory leak.

Any better way to move a rotated(or transformed) to avoid the memory leak?