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 5248a0f commit 1a5848d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
300ea32b1b2badfcd66db4608a8cf4be0e731238
b615413345a91dbfc1ada8b7c3a91c941d25ca16
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit 1a5848d

Please sign in to comment.