Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Aug 5, 2020 · 1 comment

Comments

@jpgm317
Copy link

jpgm317 commented Aug 5, 2020

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

<script src="https://cdnjs.cloudflare.com/ajax/libs/svg.js/3.0.16/svg.min.js"></script> <script src="main.js"></script>`

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
Copy link
Member

Fuzzyma commented Aug 5, 2020

yes, this is fixed in the current master.

@Fuzzyma Fuzzyma closed this as completed Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants