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

Remove arc rotation if arc is a circle #1890

Open
KTibow opened this issue Dec 19, 2023 · 0 comments
Open

Remove arc rotation if arc is a circle #1890

KTibow opened this issue Dec 19, 2023 · 0 comments

Comments

@KTibow
Copy link
Contributor

KTibow commented Dec 19, 2023

Is your feature request related to a problem? Please describe.
SVGs with arcs that are circular sometimes have rotation. The rotation can be reset to 0, as a circle rotated any way is still a circle.

Describe the solution you'd like
Set the rotation value to 0 if the x radius is the same as the y radius.

Describe alternatives you've considered
Implement this somewhere that isn't SVGO? not sure

Additional context
I'm not sure which plugin this would fit into

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant