svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
11.04k stars 1.08k forks source link

element.flip('x') still doesn't seem to work in svg.js 3.0.16 (element disappears); however, element.transform({flip: 'x'}, true) does #1144

Closed jpgm317 closed 1 year ago

jpgm317 commented 4 years ago

https://jsfiddle.net/aezLwt0r/8/ The ellipse disappears HTML body: `

` **main.js:** `const draw = SVG().addTo('#drawing').size(1000, 1000) let ellipse1 = draw.ellipse(40, 30).fill('orange').move(0, 400) ellipse1.rotate(-25) // this causes ellipse1 to disappear ellipse1.flip('x') //The following code works... //ellipse1.transform({flip: 'x'}, true)`
Fuzzyma commented 4 years ago

yes, this is fixed in the current master.