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

safeguard canvas #4650

Merged
merged 1 commit into from Jan 28, 2018
Merged

safeguard canvas #4650

merged 1 commit into from Jan 28, 2018

Conversation

asturur
Copy link
Member

@asturur asturur commented Jan 28, 2018

closes #4640

Add a sefeguard to mousedown handler in order to avoid checks for when the object is not on a canvas.
Also made the function overridable so that you can build your own mousedown handler if needed.

@asturur asturur merged commit 6d0ad48 into master Jan 28, 2018
@asturur asturur deleted the itext-mousedown branch February 4, 2018 22:45
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
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.

this.canvas is undefined error thrown when removing IText inside mouse:down event
1 participant