diff --git a/CHANGELOG.md b/CHANGELOG.md index 0627e833..9c8ecd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.5.1 + +- bug fixes + - widgets: touch state scripts not triggering some synchronization mechanism + ## 1.5.0 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 3be66877..fd79d36b 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -207,7 +207,7 @@ class Widget extends EventEmitter { }) if (String(this.getProp('script')).includes('touch')) { this.on('touch', (e)=>{ - this.script.setValue(this.value, {id: this.getProp('id'), touch: e.touch, sync: false, send: true}) + this.script.setValue(this.value, {id: this.getProp('id'), touch: e.touch, sync: true, send: true}) }) } }