Skip to content

Commit

Permalink
Animation for Layouts
Browse files Browse the repository at this point in the history
- Popout for setting layout animation
- Supports hold, linear, cubic ease and elastic
- Layouts can have custom interpolation or inherit from up the layout tree
- This PR also implements the change to not store flexGrow or alignSelf when setting scaleType, rather we put the logic into syncStyle and directly pass the values for those into the layout engine
- Tested with Rive Renderer in editor and seems to work well!
- @alxgibsn I moved the animation popout to the Layout inspector. We discussed the Auto Layout inspector, but since animation can be applied to a layoutcomponent that has no children (whereas the Auto Layout inspector must have children to be expanded), it seemed more appropriate there.

Diffs=
31f5ee5c4 Animation for Layouts (#7426)
  • Loading branch information
philter committed Jun 21, 2024
1 parent fa1319e commit 7e10a4b
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 @@
6f8c518ffdcf91338a60824469616b523be96b62
31f5ee5c480ab9b2c1a0d263305f56bfd943d780
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit 7e10a4b

Please sign in to comment.