Skip to content

Commit

Permalink
Add support to Listeners for events from nested artboards
Browse files Browse the repository at this point in the history
- Propagate events up to parent Artboard state machines
- Add Event to Listener types and display in combobox
- Add support for StateMachineListeners to listen for events

Still needs implementation on CPP runtime.

In this example, the rectangles are in a nested artboard. Clicking them fires an event from the nested artboard up to the parent artboard which has a listener which updates an input triggering the animation.

https://github.com/rive-app/rive/assets/186340/22bfb00e-8d1e-46f0-8faa-d2d5e5a1bbfb

Diffs=
1a9dd7e97 Add support to Listeners for events from nested artboards (#5923)
  • Loading branch information
philter committed Oct 11, 2023
1 parent ef9b9bb commit a67f2d7
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 @@
52a1a6f8888c9134de8dce0393dd3b0d6757f7de
1a9dd7e97e623eb30dbec164ae0935b2ad848c1b
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
99713883c2751fde83779adaaaf11e2cf584c4bf
b39f7965a415cedb236ae092c953425763f3f69a
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit a67f2d7

Please sign in to comment.