mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-30 20:03:33 +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
|
@override
|
||||||
void inputIdChanged(int from, int to) {}
|
void inputIdChanged(int from, int to) {}
|
||||||
|
|
||||||
NestedStateMachine? get nestedStateMachine => parent as NestedStateMachine?;
|
NestedStateMachine? get nestedStateMachine =>
|
||||||
|
parent is NestedStateMachine ? parent as NestedStateMachine : null;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool validate() => super.validate() && nestedStateMachine != null;
|
bool validate() => super.validate() && nestedStateMachine != null;
|
||||||
|
@ -130,7 +130,7 @@ abstract class Component extends ComponentBase<RuntimeArtboard>
|
|||||||
if (_parent == value) {
|
if (_parent == value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dirt &= ~ComponentDirt.collapsed;
|
propagateCollapse(false);
|
||||||
var old = _parent;
|
var old = _parent;
|
||||||
_parent = value;
|
_parent = value;
|
||||||
parentId = value?.id ?? Core.missingId;
|
parentId = value?.id ?? Core.missingId;
|
||||||
|
Reference in New Issue
Block a user