|
|
@ -87,7 +87,8 @@ export default Property.extend({ |
|
|
|
|
|
|
|
|
_up(props, opts = {}) { |
|
|
_up(props, opts = {}) { |
|
|
const { __layers = [], ...rest } = props; |
|
|
const { __layers = [], ...rest } = props; |
|
|
this.__setLayers(__layers); |
|
|
// Detached props will update their layers later in sm.__upProp
|
|
|
|
|
|
!this.isDetached() && this.__setLayers(__layers); |
|
|
this.__upSelected({ noEvent: true }, opts); |
|
|
this.__upSelected({ noEvent: true }, opts); |
|
|
return Property.prototype._up.call(this, rest, opts); |
|
|
return Property.prototype._up.call(this, rest, opts); |
|
|
}, |
|
|
}, |
|
|
|