-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Object.toCanvasElement doesn't work well for objects in a selection #5952
Comments
hi @av01d , i look into this asap. |
view-source:http://misc.avoid.org/fabricjs-bug/
The important bit is this:
The multiplier doesn't matter, can be anything. Omitting I've tried playing with the options for |
ok so you are using without transform, and you are applying a custom multiplier. |
Still wrong. I've updated the example on http://misc.avoid.org/fabricjs-bug/ |
This should be fixed asap and i do not think it should be hard. |
Cool! You'll be rewarded ;-) |
The Pr fixes the most obvious wrong behaviour. |
I'm using
Object.toCanvasElement
to generate thumbnails of all objects on canvas.This works beautifully, except for objects that are part of the active selection.
Version
3.4.0
Test Case
http://misc.avoid.org/fabricjs-bug/
(jsfiddle.net is down at this moment)
Information about environment
Nodejs or browser? browser
Which browsers? all
Steps to reproduce
see fiddle
Expected Behavior
Object.toCanvasElement should render all objects on canvas correctly, even if they're part of a selection.
Actual Behavior
Objects part of a selection aren't rendered correctly.
The text was updated successfully, but these errors were encountered: