From df3d71d1b184c137f92852934c29228b21b4465a Mon Sep 17 00:00:00 2001 From: philter Date: Mon, 7 Oct 2024 21:02:49 +0000 Subject: [PATCH] Layout misc fixes Fixes a couple of issues: 1. When checking if a component should default to fixed or hug, parametric Shapes were improperly bucketed as fixed because a Shape is a Node, so the if statement needed to be adjusted. 2. When synching style, need to reset flexGrow/flexShrink in particular because if a layout was created with type fill initially, the flexShrink value would never get reset, so the sizing behavior was wrong. Diffs= bc4d42b7b Layout misc fixes (#8292) --- .rive_head | 2 +- wasm/submodules/rive-runtime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 12508af..a451bcd 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -31bf5a44f282bd4c233a6fb9e44e73b0378bf449 +bc4d42b7b3d24c4ba12d3f2af32904c910d37d70 diff --git a/wasm/submodules/rive-runtime b/wasm/submodules/rive-runtime index c1c4868..7d2dbd3 160000 --- a/wasm/submodules/rive-runtime +++ b/wasm/submodules/rive-runtime @@ -1 +1 @@ -Subproject commit c1c4868667592561e575bb86ecec59e4f3addb88 +Subproject commit 7d2dbd3f259ca67d35fa50a33d1d0055221539a8