Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
chore: Bump taffy to 0.5.1 (#34817)
Piotr Osiewicz35b4a918c91b
diff --git a/Cargo.lock b/Cargo.lockindex bc69de7a7cd..5ceed10b199 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -7396,9 +7396,9 @@ dependencies = [[[package]]name = "grid"-version = "0.13.0"+version = "0.14.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d196ffc1627db18a531359249b2bf8416178d84b729f3cebeb278f285fb9b58c"+checksum = "be136d9dacc2a13cc70bb6c8f902b414fb2641f8db1314637c6b7933411a8f82"[[package]]name = "group"@@ -15936,9 +15936,9 @@ dependencies = [[[package]]name = "taffy"-version = "0.4.4"+version = "0.5.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9ec17858c2d465b2f734b798b920818a974faf0babb15d7fef81818a4b2d16f1"+checksum = "9cb893bff0f80ae17d3a57e030622a967b8dbc90e38284d9b4b1442e23873c94"dependencies = ["arrayvec","grid",diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.tomlindex d3462e9e9c1..9da01c5ff3a 100644--- a/crates/gpui/Cargo.toml+++ b/crates/gpui/Cargo.toml@@ -121,7 +121,7 @@ smallvec.workspace = truesmol.workspace = truestrum.workspace = truesum_tree.workspace = true-taffy = "0.4.3"+taffy = "0.5.1"thiserror.workspace = trueutil.workspace = trueuuid.workspace = truediff --git a/crates/gpui/src/taffy.rs b/crates/gpui/src/taffy.rsindex f12c62d5043..6228a604904 100644--- a/crates/gpui/src/taffy.rs+++ b/crates/gpui/src/taffy.rs@@ -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();};