AliasIO / Raphael.FreeTransform

Free transform tool for Raphaël elements.
http://elbertf.com
362 stars 107 forks source link

negative circle radius value #137

Open izyl opened 10 years ago

izyl commented 10 years ago

When using circle + square you can get a negative value for the circle radius

simple correction at line 194 : r: Math.abs(Math.max(radius.x, radius.y) * ft.opts.distance) instead of r: Math.max(radius.x, radius.y) * ft.opts.distance