chore: Bump taffy to 0.5.1 (#34817)
We've had problems in the past with bumping past 0.5.2 due to perf regressions reported by @huacnlee; 0.5.1 was fine though. Hence, let's bump taffy to 0.5.1 as a safe bet and then try to push past 0.5.2 (after we identify the root cause of regression Related to #19189 Release Notes: - N/A
This commit is contained in:
parent
56fd950d94
commit
35b4a918c9
3 changed files with 6 additions and 6 deletions
|
@ -121,7 +121,7 @@ smallvec.workspace = true
|
|||
smol.workspace = true
|
||||
strum.workspace = true
|
||||
sum_tree.workspace = true
|
||||
taffy = "0.4.3"
|
||||
taffy = "0.5.1"
|
||||
thiserror.workspace = true
|
||||
util.workspace = true
|
||||
uuid.workspace = true
|
||||
|
|
|
@ -182,7 +182,7 @@ impl TaffyLayoutEngine {
|
|||
.compute_layout_with_measure(
|
||||
id.into(),
|
||||
available_space.into(),
|
||||
|known_dimensions, available_space, _id, node_context| {
|
||||
|known_dimensions, available_space, _id, node_context, _style| {
|
||||
let Some(node_context) = node_context else {
|
||||
return taffy::geometry::Size::default();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue