Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove canvas.shim circular dependency #753

Merged
merged 2 commits into from
Jan 1, 2025
Merged

Remove canvas.shim circular dependency #753

merged 2 commits into from
Jan 1, 2025

Conversation

jonobr1
Copy link
Owner

@jonobr1 jonobr1 commented Jan 1, 2025

Addresses:

Correctly encapsulates modules to be order of least resistance by:

  1. Removes CanvasRenderer.Utils.shim method
  2. Renames canvas-shim to canvas-polyfill for headless use
  3. Imports only CanvasPolyfill, not the full renderer in Two.Texture

@jonobr1 jonobr1 merged commit 1e2b8c1 into dev Jan 1, 2025
1 check passed
@jonobr1 jonobr1 deleted the 750-circular-dep branch January 1, 2025 01:28
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