From 6f041caf04f2e1f5853000d5195f713341d91246 Mon Sep 17 00:00:00 2001 From: philter Date: Mon, 14 Oct 2024 19:52:26 +0000 Subject: [PATCH] Make layout position type and scale type keyable In order to support a request from Duo (this is actually something probably most users will want), we make layout position type (relative or absolute) keyable. By making a child layout absolute, it can break out of its parent's flexbox style layout system, which removes the "double gap" issue and also provides more freedom for the absolute layout to be repositioned, etc. While doing this, it also became apparent that scale type (fixed, fill and hug) also needs to be keyable. This is because when switching from relative positioning with a fill scale type to absolute, we want to maintain sizing, so we would need to switch from auto (fill) to point (fixed) unit size. Again, this will provide additional flexibility for users to switch between the scale types in other scenarios. Diffs= 638ee6434e Make layout position type and scale type keyable (#8316) --- .rive_head | 2 +- submodules/rive-runtime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 6b9cbc3e..7f05b13c 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -0f805654cfd333d978a98a4375a6d99d0d5c8107 +638ee6434ebac8f230de6ea69bc70b907b3ca8ce diff --git a/submodules/rive-runtime b/submodules/rive-runtime index 832c9632..c7ca3ed9 160000 --- a/submodules/rive-runtime +++ b/submodules/rive-runtime @@ -1 +1 @@ -Subproject commit 832c963260bfc5361193d3403db9c101f31f88f0 +Subproject commit c7ca3ed9985b568387f55a3d1db02c4d5c2de897