forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`stack` module: * This module has been deleted. * `ui_stack_system` is gone, `ui_layout_system` updates `UiStack`. `UiSystem`: * `Stack` variant removed. `UiStack` resource: * Moved to `ui_node` module. * Updated by `ui_layout_system`. `ZIndex` * The `ZIndex` component is now a new type struct wrapping an i32. The value of `ZIndex` only controls the nodes local z ordering relative to other children with the same parent. * `ZIndex::Global` is no longer supported. `ui_layout_sytem`: * Instead of iterating through a query, the uinode rects (implementation copied from bevyengine#8931) are updated during a depth first walk of the layout tree. * `UiStack` is updated along with the uinodes during the layout tree walk.
- Loading branch information
Showing
4 changed files
with
38 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.