Skip to content

Commit

Permalink
Xxxx support target align from position
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
bodymovin committed May 1, 2024
1 parent 3bd7b0b commit 3f2bab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7d0125c9256d329a11844184e6cd1244f3496012
a55f1ffb6cabe9b918fa0b8fd1ad11b4d656ae1c
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit 3f2bab1

Please sign in to comment.