From 3f2bab14b7ce33077c8313356bf83d0b0434b19c Mon Sep 17 00:00:00 2001 From: bodymovin Date: Wed, 1 May 2024 23:44:35 +0000 Subject: [PATCH] Xxxx support target align from position A lot of files changed, but they're mostly boilerplate code and changes to the API of the actions. This PR adds support for using Align Target without moving the aligned target to the pointer position. Instead, it moves the element from its starting point following the mouse position. It adds a new boolean property to enable the feature. In order to achieve this, it's necessary to provide to all actions the current position and the previous position so the action can calculate the delta. Diffs= a55f1ffb6 Xxxx support target align from position (#7154) --- .rive_head | 2 +- wasm/submodules/rive-cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 8e331601..ca0ca4d5 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -7d0125c9256d329a11844184e6cd1244f3496012 +a55f1ffb6cabe9b918fa0b8fd1ad11b4d656ae1c diff --git a/wasm/submodules/rive-cpp b/wasm/submodules/rive-cpp index c5c6a966..331c05ab 160000 --- a/wasm/submodules/rive-cpp +++ b/wasm/submodules/rive-cpp @@ -1 +1 @@ -Subproject commit c5c6a96655fba4ed46f21dc62d545cecd13da428 +Subproject commit 331c05ab77d786db6f9d969bee0928dc17952a2b