-
-
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
toDataURL doubles shadow offset on objects #5577
Comments
https://jsfiddle.net/9s3rn2Lc/ Looks like a retina scaling regression. |
@asturur thanks that works. I stepped through the functions when |
I'm not exactly sure where the problem is. I guess that also moving to a different test environment with mocks ( like jest ) would help to write better unit tests. is something in the |
if you still have time and want to fix this, i think the problem is in the toCanvasElement function. We need to read the value of the canvas Let me know if you can do it, or i'll fix it. |
@asturur I should have time to fix it next week, but go ahead if have time to do it sooner. Feel free to tag me in the PR so I can look. |
Version
2.7.0
Test Case
https://jsfiddle.net/5Lgw20dj/
Information about environment
Nodejs or browser?
Which browsers?
Steps to reproduce
toDataURL()
with any options.Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: