From 7b29071a06fc0aa4eec8b8ea3b5661a911e762c0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 5 Oct 2020 18:00:45 +0200 Subject: [PATCH] widgets: touch state scripts not triggering some synchronization mechanism --- CHANGELOG.md | 5 +++++ src/client/widgets/common/widget.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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}) }) } }