panels: fix dynamic color regression
This commit is contained in:
parent
6b4ce7e66b
commit
67ec080ddd
3 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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