Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use shared data context between artboard and state machine
this PR changes multiple files addressing three things: the first two are pretty basic changes: rename the method `dataContextFromInstance` to `setDataContextFromInstance` and remove the side effect of setting the parent of the data context in `internalDataContext`. The other change is commented in the code: instead of creating a new data context for nested state machines, it is shared between the nested artboard and its state machines. This was already so in the cpp runtime, but the flutter bridge wasn't doing the same. Diffs= eed8230f8 use shared data context between artboard and state machine (#8299)
- Loading branch information