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(EraserBrush): intersectsWithObject edge cases #7290

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

ShaMan123
Copy link
Contributor

closes #7277

@@ -929,6 +929,8 @@
}

var path = this.createPath(pathData);
// needed for `intersectsWithObject`
path.setCoords();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i m worried this won't work if there is some zoom level going on
But this for sure is fixing something, so for now is fine.

@asturur asturur merged commit 1f4f219 into fabricjs:master Aug 13, 2021
@asturur asturur mentioned this pull request Aug 27, 2021
@ShaMan123 ShaMan123 deleted the eraser-intersection-recalc-f branch September 11, 2022 23:57
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.

Fabric.js Eraser not working properly if canvas is zoom in or zoom out
2 participants