Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Apr 30, 2024
1 parent 725425d commit d381d90
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 @@ -185,7 +185,7 @@ pub fn ui_layout_system(
ui_surface.upsert_node(&layout_context, entity, &style, measure);
}
} else {
ui_surface.upsert_node(entity, &Style::default(), &LayoutContext::default());
ui_surface.upsert_node(&LayoutContext::DEFAULT, entity, &Style::default(), None);
}
}
scale_factor_events.clear();
Expand Down

0 comments on commit d381d90

Please sign in to comment.