Skip to content

Commit

Permalink
enable all viewmodels as source for a condition
Browse files Browse the repository at this point in the history
this extends state machine conditions to support any ViewModel property as the source of a condition instead of restricting it to the view model that is explicitly provided to the artboard.
This mimics the same behavior that artboard objects have, where they can target any ViewModel as the source for data binding.
This was surfaced from trying to build the fighters menu, where some properties are provided by the parent's data context, and not the component's data context itself.

Diffs=
5d5d418b7 enable all viewmodels as source for a condition (#8284)
  • Loading branch information
bodymovin committed Oct 5, 2024
1 parent 00ae917 commit 6b1d7c1
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 @@
7bef90845ad58f2787c92e1e5dc191dae2b8f8fb
5d5d418b7316aa555edb7f8ada7f20714430bdfe
2 changes: 1 addition & 1 deletion submodules/rive-runtime

0 comments on commit 6b1d7c1

Please sign in to comment.