Skip to content

Rework removal of c2d elements#59

Merged
calebfoss merged 1 commit intomainfrom
removal
Nov 12, 2025
Merged

Rework removal of c2d elements#59
calebfoss merged 1 commit intomainfrom
removal

Conversation

@calebfoss
Copy link
Copy Markdown
Owner

Bypass default remove method, instead queuing the element's removal on the parent c2d-canvas and queueing another render. At the start of the render method, remove all children queued for removal.

This fixes bugs caused by removing elements while the canvas is in the middle of rendering.

Bypass default remove method, instead queuing the element's removal on the parent c2d-canvas and queueing another render. At the start of the render method, remove all children queued for removal.

This fixes bugs caused by removing elements while the canvas is in the middle of rendering.
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web-spinner Ready Ready Preview Comment Nov 12, 2025 1:53am

@calebfoss calebfoss merged commit 21b3f6b into main Nov 12, 2025
3 checks passed
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