Skip to content

Commit

Permalink
fix for unexpected triggered events
Browse files Browse the repository at this point in the history
fixes #7226
This PR fixes reports of events when animations are playing backward.
It considers both the timeline speed and the state machine state speed to determine direction.
It also handles not reporting an event twice if it comes from a "ping pong" loop.
It also adds a small performance improvement, skipping the binary search if possible.

Diffs=
265c00985 fix for unexpected triggered events (#7227)
  • Loading branch information
bodymovin committed May 22, 2024
1 parent 87069a5 commit 6dbd56b
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 @@
8a538c243fcc5b72159388a7e63669f1e6998dda
265c009852e86492deb69277ad18aa2c394c93e5
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit 6dbd56b

Please sign in to comment.