Closed MarvinWilliam closed 5 years ago
Can you re-submit without the new minified builds? Happy to merge once that's complete.
Can you re-submit without the new minified builds? Happy to merge once that's complete.
Ok, I have re-push change.
Would love to see this merged and have a new release published to npm! This is currently a blocking issue for me.
Thanks, I can merge this shortly.
Reviewing this: It does change the behaviour.
In the current version, the HTML canvas always overrides the one created using createCanvas()
. Basically it creates it if it can (ie, if HTMLCanvasElement exists).
In the PR, it will only do it if the createCanvas
returns null.
Not saying its a bad implementation, but its different, so I am just following up with the author on intent.
HTMLCanvasElement is interface of canvas element, it should not be used to create element.