You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because $canvas.width() and $canvas.height() always returns 0. I replaced those entries with canvas.width and canvas.height, and then everything worked fine.
I tested this on Chrome 66.0.3359.170, and jQuery 3.3.1
So if this used to work, some changes in some other package broke it.
The text was updated successfully, but these errors were encountered:
Thanks for your feedback! Probably due to new versions of either jquery or another package as you say.
I'll try your fix out and update master when I get some spare time (if you want you can send a pull request). :)
This is because $canvas.width() and $canvas.height() always returns 0. I replaced those entries with canvas.width and canvas.height, and then everything worked fine.
I tested this on Chrome 66.0.3359.170, and jQuery 3.3.1
So if this used to work, some changes in some other package broke it.
The text was updated successfully, but these errors were encountered: