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

bugfix on canvas, when the curve is empty #44

Merged
merged 1 commit into from
Nov 6, 2021

Conversation

qpincon
Copy link

@qpincon qpincon commented Nov 5, 2021

When we create an empty curve using canvas renderer, the _containsPoint function tries to check if the invalid bounds contain the point, which throws an error.

@elfalem elfalem merged commit cf6bcc0 into elfalem:gh-pages Nov 6, 2021
@elfalem
Copy link
Owner

elfalem commented Nov 6, 2021

Thanks! Version 0.9.1 released and pushed to NPM.

@qpincon qpincon deleted the canvasContainsPointFix branch November 8, 2021 09:40
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.

2 participants