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

@ -1,5 +1,12 @@
# Changelog
## 0.38.6
- bug fixes
- regression with dynamic property `color` in panels and matrices
- packaging
- node-only package can be run with electron too
## 0.38.5
- packaging

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