Skip to content

Commit

Permalink
Replaced use of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe committed Sep 18, 2023
1 parent 8f220a4 commit 2a52bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ui/src/layout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ pub fn ui_layout_system(
}

// When a `ContentSize` component is removed from an entity, we need to remove the measure from the corresponding taffy node.
for entity in removed_content_sizes.iter() {
for entity in removed_content_sizes.read() {
ui_surface.try_remove_measure(entity);
}

Expand Down

0 comments on commit 2a52bb6

Please sign in to comment.