editor: ensure @{} bindings are always updated upon edition

This commit is contained in:
bordun 2020-03-30 12:01:15 +02:00
parent 026993ce0c
commit b86d232518
2 changed files with 7 additions and 4 deletions

View file

@ -32,6 +32,7 @@
- allow copying tabs (to tab containers only)
- shared clipboard accross all clients
- prevent interaction with widgets when `shift` or `ctrl` is held
- ensure @{} bindings are always updated upon edition
- widget changes

View file

@ -731,11 +731,13 @@ class Widget extends EventEmitter {
return this.reCreateWidget({reCreateOptions: options})
} else if (changedProps.length) {
}
if (options && options.fromEditor) {
this.checkLinkedProps(propNames)
}
if (options && options.fromEditor) {
this.checkLinkedProps(propNames)
}
if (changedProps.length) {
for (var i in changedProps) {
this.onPropChanged(changedProps[i].propName, options, changedProps[i].oldPropValue)