Skip to content

Commit

Permalink
Fix default UI node size (bevyengine#304)
Browse files Browse the repository at this point in the history
Fix default node size
  • Loading branch information
stefee authored and BimDav committed Aug 26, 2020
1 parent f8f3a32 commit 9929e46
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 9929e46

Please sign in to comment.