Skip to content

Commit

Permalink
taffy 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Nov 16, 2024
1 parent 4e81d47 commit 2b2f4f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bevy_window = { path = "../bevy_window", version = "0.14.1" }
bevy_utils = { path = "../bevy_utils", version = "0.14.1" }

# other
taffy = { version = "0.5" }
taffy = { version = "0.6.2" }
serde = { version = "1", features = ["derive"], optional = true }
bytemuck = { version = "1.5", features = ["derive"] }
thiserror = "1.0.0"
Expand Down
3 changes: 3 additions & 0 deletions crates/bevy_ui/src/layout/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ pub fn from_style(
.collect::<Vec<_>>(),
grid_row: style.grid_row.into(),
grid_column: style.grid_column.into(),
item_is_table: Default::default(),
box_sizing: Default::default(),
text_align: Default::default(),
}
}

Expand Down

0 comments on commit 2b2f4f6

Please sign in to comment.