Skip to content

Conversation

Luostari
Copy link

Hi! I found an issue. If we have a path d="m50,50 200,0 m0,200 -200,0" algorithm draws three lines instead of two like it should do because the third command MoveTo is explicit and cannot be treated like LineTo. I fixed this by returning the previous command from the function execute, as it may change inside the function. Also, I changed Unit Tests and created a new one for this case.

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

Successfully merging this pull request may close these issues.

1 participant