mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-26 09:48:01 +08:00
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:
@ -1 +1 @@
|
||||
d9fc7d92736d3ac97fafc2f2713ec25211584799
|
||||
8115f9a079a909777a03f5f211daad206acfa5c6
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user