Skip to content

Conversation

davepagurek
Copy link
Contributor

Resolves #5817

Changes

Previously, when setAttributes creates a new canvas, it wouldn't update the canvas property of the renderer, leaving a reference to the old canvas. Now, when it's set correctly, sketches that try to read back the main canvas via a reference to a renderer will see the contents of the canvas instead of a blank canvas.

Screenshots of the change

Before:

image

After:

image

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants