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

selectionBackgroundColor still present when using image with toDataURL() #3842

Closed
ncou opened this issue Apr 11, 2017 · 1 comment · Fixed by #3862
Closed

selectionBackgroundColor still present when using image with toDataURL() #3842

ncou opened this issue Apr 11, 2017 · 1 comment · Fixed by #3862
Labels

Comments

@ncou
Copy link
Collaborator

ncou commented Apr 11, 2017

Hi,

If i set the parameter "selectionBackgroundColor" for an object, this color is still present on the exported image. It should not appear on the export (like the other "selection" items are not presents : corners, selection rect border...etc).

Steps to reproduce :
http://jsfiddle.net/j229j5b4/1/
Select the red rect, and click on the 'todataurl' button.

You can see the selectionBackground rect, while the other selection items (corners...etc) are not exported.
The "fillStyle" should be made transparent and not using the backgroundcolor before the image export ? no ?

@asturur
Copy link
Member

asturur commented Apr 11, 2017

this looks like a regression. agree is a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants