Skip to content

Commit

Permalink
Init NestedAnimation's nestedArtboard as nullptr
Browse files Browse the repository at this point in the history
This should fix an issue with nested events not bubbling up on Windows and web editor.

Diffs=
c5fc07de9 Init NestedAnimation's nestedArtboard as nullptr (#7857)

Co-authored-by: Philip Chung <[email protected]>
  • Loading branch information
philter and philter committed Aug 15, 2024
1 parent a57a234 commit 7478e62
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 @@
fb7756072f7c28fff774e536b6bbbca664a35664
c5fc07de9cc2d14a2d223397c8ea96d7393eb78e
2 changes: 1 addition & 1 deletion include/rive/nested_animation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class NestedEventNotifier
}

private:
NestedArtboard* m_nestedArtboard;
NestedArtboard* m_nestedArtboard = nullptr;
std::vector<NestedEventListener*> m_nestedEventListeners;
};

Expand Down

0 comments on commit 7478e62

Please sign in to comment.