Closed themadcreator closed 6 years ago
Prevents error from being thrown when we try to invoke context.drawImage with an argument that is a 0x0 canvas.
Instead we just skip the drawImage.
Demo: quicktests | fiddle
Yeah, i was considering. Might as well
Prevents error from being thrown when we try to invoke context.drawImage with an argument that is a 0x0 canvas.
Instead we just skip the drawImage.