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

Multiple commands MoveTo #160

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Multiple commands MoveTo #160

wants to merge 3 commits into from

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