chore: Bump taffy to 0.5.2 (#18729)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-10-04 12:37:44 +02:00 committed by GitHub
parent e2647025ac
commit a99750fd35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ smallvec.workspace = true
smol.workspace = true
strum.workspace = true
sum_tree.workspace = true
taffy = "0.4.3"
taffy = "0.5"
thiserror.workspace = true
util.workspace = true
uuid.workspace = true

View file

@ -180,7 +180,7 @@ impl TaffyLayoutEngine {
.compute_layout_with_measure(
id.into(),
available_space.into(),
|known_dimensions, available_space, node_id, _context| {
|known_dimensions, available_space, node_id, _context, _style| {
let Some(measure) = self.nodes_to_measure.get_mut(&node_id.into()) else {
return taffy::geometry::Size::default();
};