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 code example appends a canvas to the existing canvas#output, which is not valid. Maybe replace canvas#output to div#output, or reusing canvas#output to paint the image without creating a new one every time.
Ah, yeah, this is a great find! I think in addition to the change you mention, we'd want to change output.appendChild(canvas) to output.replaceChildren(canvas).
Page: Using a JavaScript module as a worker
This code example appends a canvas to the existing canvas#output, which is not valid. Maybe replace canvas#output to div#output, or reusing canvas#output to paint the image without creating a new one every time.
The text was updated successfully, but these errors were encountered: