Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Objective `ExtractedUiNodes` is cleared by the `extract_uinodes` function during the extraction schedule. Because the Bevy UI renderer uses a painters algorithm, this makes it impossible for users to create a custom extraction function that adds items for a node to be drawn behind the rectangle added by `extract_uniodes`. ## Solution Drain `ExtractedUiNodes` in `prepare_ui_nodes` instead, after the extraction schedule has finished.
- Loading branch information