Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Davier committed Jan 18, 2021
1 parent 1e61d27 commit d04156e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/bevy_ui/src/flex/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ fn upsert_window_nodes(
let window = if let Some(node_window_id) = node_window_id {
trace!(
"Adding window node for: {:?} on {:?}",
entity, node_window_id.0
entity,
node_window_id.0
);
windows.get(node_window_id.0).unwrap()
} else {
Expand Down Expand Up @@ -378,7 +379,8 @@ fn update_window_sizes(
if resized_window_id == entity_window_id {
trace!(
"Rescaling window node for {:?} ({:?})",
entity, resized_window_id
entity,
resized_window_id
);
*dirty_layout = true;
set_window_node_style(
Expand Down Expand Up @@ -545,7 +547,8 @@ fn update_stacking_context(
}
trace!(
"{:?} has ZIndex::Auto, including it into its parent {:?}",
entity, **parent
entity,
**parent
);
return update_stacking_context(flex_surface, **parent, style_query);
}
Expand Down

0 comments on commit d04156e

Please sign in to comment.