Minor changes for publishing rive_flutter to pub.dev

Diffs=
8115f9a07 Minor changes for publishing rive_flutter to pub.dev (#5117)
abc600932 Propagate collapse to path composer. (#5116)
9266e0d30 Fix for runtime crash with skins nested in solo nodes. (#5109)
This commit is contained in:
luigi-rosso
2023-04-14 00:17:17 +00:00
parent 8379e840da
commit 86846ca956
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
d9fc7d92736d3ac97fafc2f2713ec25211584799
8115f9a079a909777a03f5f211daad206acfa5c6

View File

@ -8,7 +8,8 @@ abstract class NestedInput extends NestedInputBase {
@override
void inputIdChanged(int from, int to) {}
NestedStateMachine? get nestedStateMachine => parent as NestedStateMachine?;
NestedStateMachine? get nestedStateMachine =>
parent is NestedStateMachine ? parent as NestedStateMachine : null;
@override
bool validate() => super.validate() && nestedStateMachine != null;

View File

@ -130,7 +130,7 @@ abstract class Component extends ComponentBase<RuntimeArtboard>
if (_parent == value) {
return;
}
dirt &= ~ComponentDirt.collapsed;
propagateCollapse(false);
var old = _parent;
_parent = value;
parentId = value?.id ?? Core.missingId;