panels: fix dynamic color regression
This commit is contained in:
parent
932d896210
commit
de1a1cdd50
3 changed files with 9 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ class Panel extends Container {
|
|||
|
||||
case 'color':
|
||||
for (var w of this.children) {
|
||||
w.onPropChanged('color')
|
||||
if (w) w.onPropChanged('color')
|
||||
}
|
||||
return
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ module.exports = class _matrix_base extends Container {
|
|||
|
||||
case 'color':
|
||||
for (var w of this.children) {
|
||||
w.onPropChanged('color')
|
||||
if (w) w.onPropChanged('color')
|
||||
}
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue