Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
jean-emmanuel 2018-04-05 22:42:12 +02:00
commit 22122b5731
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## next
- bug fixes
- widgets not correctly drawn when hidden/shown with dynamic css
## 0.28.2
- bug fixes

View file

@ -492,6 +492,10 @@ class Widget extends EventEmitter {
case 'css':
this.setContainerStyles(['css'])
this.onPropChanged('color')
var re = /width|height|display/
if (re.test(oldPropValue) || re.test(this.getProp('css'))) {
resize.check(this.container)
}
return
case 'color':