parent
e2647025ac
commit
a99750fd35
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue