Skip to content

Conversation

@aryashi100
Copy link

Addresses a renderer contract mismatch noted in code comments.

Changes:

  • Updated p5.Renderer.pop() to return the restored renderer style after state restoration.
  • Aligns implementation with comments in p5.Renderer2D.js that describe the expected renderer contract.
  • Note: While running the test suite locally, one existing documentation test for loadFont (example Rhino test #4) failed. This appears unrelated to the renderer change and was present prior to this modification.

Screenshots of the change:
N/A (code-only change)

PR Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant