Skip to content

Commit

Permalink
Fix default UI node size (#304)
Browse files Browse the repository at this point in the history
Fix default node size
  • Loading branch information
stefee authored Aug 25, 2020
1 parent 0ae74a4 commit 034b587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_ui/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ impl Default for Style {
flex_grow: 0.0,
flex_shrink: 1.0,
flex_basis: Val::Auto,
size: Default::default(),
min_size: Default::default(),
max_size: Default::default(),
size: Size::new(Val::Auto, Val::Auto),
min_size: Size::new(Val::Auto, Val::Auto),
max_size: Size::new(Val::Auto, Val::Auto),
aspect_ratio: Default::default(),
}
}
Expand Down

0 comments on commit 034b587

Please sign in to comment.