From 11467e26a28930c09597b91293cdf0c8c766d6af Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 19 Jun 2025 13:03:05 +0200 Subject: [PATCH] :bug: Fix problem with flex wrap in wasm --- render-wasm/src/shapes/modifiers/flex_layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render-wasm/src/shapes/modifiers/flex_layout.rs b/render-wasm/src/shapes/modifiers/flex_layout.rs index acaa118de1..ea2e55d280 100644 --- a/render-wasm/src/shapes/modifiers/flex_layout.rs +++ b/render-wasm/src/shapes/modifiers/flex_layout.rs @@ -421,7 +421,7 @@ fn calculate_track_positions( for track in tracks.iter_mut() { track.anchor = next_anchor; - next_anchor += layout_axis.across_v * real_gap; + next_anchor += layout_axis.across_v * (track.across_size + real_gap); } }