opt: superview's subviews must be marked also
This commit is contained in:
8
doric-web/dist/index.js
vendored
8
doric-web/dist/index.js
vendored
@@ -2067,6 +2067,14 @@ class Superview extends View {
|
||||
if (Reflect.getMetadata(key, v) === PROP_CONSIST || Reflect.getMetadata(key, v) === PROP_INCONSIST) {
|
||||
v.onPropertyChanged(key, undefined, Reflect.get(v, key));
|
||||
}
|
||||
if (v instanceof Superview) {
|
||||
for (const subview of v.allSubviews()) {
|
||||
subview.superview = {};
|
||||
}
|
||||
}
|
||||
if (v instanceof Group) {
|
||||
v.dirtyProps.children = v.children.map(e => e.viewId);
|
||||
}
|
||||
}
|
||||
}
|
||||
v.superview = this;
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user