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

Fix Issue #1885 #1957

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AS-MCMXCIX
Copy link

Description

Fixed a bug where PathItem.createPathData() doesn't parse Arc svg commands correctly. it Doesn't fix this case because it lacks moveTo() command at the beginning and ends up with this error (and it seems like it's acting as designed):

Uncaught Error: Use a moveTo() command first

but the path data is parsed correctly. this patch also solves the rest of the cases mentioned in the issue.

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the JSHint rules (yarn run jshint passes)

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