Skip to content

Commit

Permalink
Update linear animation advanceAndApply to return if more animation r…
Browse files Browse the repository at this point in the history
…emains

Origin: using the iOS runtime, playing a linear animation (i.e an animation without a state machine) would not continue playing after the first frame, because `advanceAndApply` was returning `false`, due to the delta initially being 0 and hitting a certain codepath. After a live chat, Luigi and Hernan discussed a usable approach, which resulted in this pull request.

Diffs=
81709286ea Update linear animation advanceAndApply to return if more animation remains (#8610)
  • Loading branch information
dskuza committed Nov 20, 2024
1 parent 555ade8 commit 9fbe30d
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 @@
37c69878476271f2b7f83fc237745095bc29a2c8
81709286ea69187e70d08b5e0b268b0f455b0adb
2 changes: 1 addition & 1 deletion submodules/rive-runtime

0 comments on commit 9fbe30d

Please sign in to comment.