Skip to content

[s2d] Rework interactive registration to be lazily sorted instead of each time an interactive is added - #1368

Open
EspeuteClement wants to merge 1 commit into
masterfrom
lazy-2d-interactives
Open

EspeuteClement wants to merge 1 commit into
masterfrom
lazy-2d-interactives

Conversation

@EspeuteClement

Copy link
Copy Markdown
Contributor

This amortize performance when adding or removing lots of interactives ui elements in the 2d scene in the same frame, which is usually the case. Behavior of the checkInteractive has been check to match the one of the old addEventTarget ordering

…each time an interactive is added

This amortize performance when adding or removing lots of interactives ui elements in the 2d scene in the same frame, which is usually the case. Behavior of the checkInteractive has been check to match the one of the old addEventTarget ordering, and even fixes some bugs

This branch has not been deployed

No deployments
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