Skip to content

Commit

Permalink
Add AdvancingComponent & animate flag to advance()
Browse files Browse the repository at this point in the history
@luigi-rosso I pulled the AdvancingComponent stuff from the scroll branch into this, so I could build on top of it.

This PR addresses a couple of things we discussed around Layout animation:
- Added an animate param to advance which tells the advancing component whether to animate or not. This allowed the addition of a toggle for layout animation because it can be annoying to have the animation running while editing.
- Also prevent animation at runtime startup by interrupting it if ComponentDirt is filthy. This also prevents startup animation whenever a nested artboard is regenerated in editor.

Diffs=
0c8fa5c313 Add AdvancingComponent & animate flag to advance() (#8362)
  • Loading branch information
philter committed Oct 21, 2024
1 parent ba15612 commit ba07f1a
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 @@
d1372c444fa3aaada618ce16032327e4117057b9
0c8fa5c31311059d7136d040e4f470eee3edc106
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit ba07f1a

Please sign in to comment.