|
|
|
@ -586,6 +586,7 @@ export default () => { |
|
|
|
const isStack = prop.getType() === 'stack'; |
|
|
|
const isComposite = prop.getType() === 'composite'; |
|
|
|
const opt = { ...opts, __up: true }; |
|
|
|
const canUpdate = !isComposite; |
|
|
|
let newLayers = isStack ? prop.__getLayersFromStyle(style) : []; |
|
|
|
let newProps = isComposite ? prop.__getPropsFromStyle(style) : {}; |
|
|
|
let newValue = hasVal ? value : null; |
|
|
|
@ -616,7 +617,7 @@ export default () => { |
|
|
|
} |
|
|
|
|
|
|
|
prop.__setParentTarget(parentTarget); |
|
|
|
prop.__getFullValue() !== newValue && prop.upValue(newValue, opt); |
|
|
|
canUpdate && prop.__getFullValue() !== newValue && prop.upValue(newValue, opt); |
|
|
|
isStack && prop.__setLayers(newLayers || []); |
|
|
|
if (isComposite) { |
|
|
|
const props = prop.getProperties(); |
|
|
|
|