clone: rm colorBg & strokeWidth (should be overridden via "props")
This commit is contained in:
parent
3e12a12175
commit
2639cb3476
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class Clone extends Container() {
|
|||
props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'},
|
||||
|
||||
}, [
|
||||
'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding',
|
||||
'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'strokeWidth',
|
||||
'label', 'color',
|
||||
'_value', 'default', 'value', 'script', 'linkId',
|
||||
'_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass'
|
||||
|
|
@ -298,6 +298,7 @@ class Clone extends Container() {
|
|||
case 'alphaFillOff':
|
||||
case 'alphaFillOn':
|
||||
case 'colorBg':
|
||||
case 'strokeWidth':
|
||||
case 'padding':
|
||||
for (var w of this.children) {
|
||||
if (w) w.onPropChanged(propName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue