svgdotjs / svg.resize.js

An extension of svg.js which allows to resize elements which are selected
MIT License
92 stars 67 forks source link

Center #36

Open inanisvitae opened 7 years ago

inanisvitae commented 7 years ago

center() is not needed in rotation process. It will cause problem when rotation is applied to a group. Deleting it will solve the problem

Fuzzyma commented 7 years ago

I always had problem when rotating. The shape jumped a hit every time I started rotating. That's why I added the center. Now you tell me it works without - I am confused :D

inanisvitae commented 7 years ago

Actually, there is a problem if that is not removed. When I try to rotate a group, it does exactly what you said, but after I removed it, everything works smoothly.