Skip to content

Commit 1faaf19

Browse files
ComputedNode doc link fix (#20886)
# Objective `ComputedNode`'s `stack_index` is updated by `ui_stack_system`, not `ui_layout_system`. --------- Co-authored-by: Alice Cecile <[email protected]>
1 parent 6227064 commit 1faaf19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ui/src/ui_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl ComputedNode {
111111
/// The order of the node in the UI layout.
112112
/// Nodes with a higher stack index are drawn on top of and receive interactions before nodes with lower stack indices.
113113
///
114-
/// Automatically calculated by [`super::layout::ui_layout_system`].
114+
/// Automatically calculated in [`UiSystems::Stack`](super::UiSystems::Stack).
115115
pub const fn stack_index(&self) -> u32 {
116116
self.stack_index
117117
}

0 commit comments

Comments
 (0)