panels: fix dynamic color regression

This commit is contained in:
bordun 2018-10-27 13:22:42 +02:00
parent 932d896210
commit de1a1cdd50
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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