widgets: touch state scripts not triggering some synchronization mechanism
This commit is contained in:
parent
30c5784658
commit
7b29071a06
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.5.1
|
||||
|
||||
- bug fixes
|
||||
- widgets: touch state scripts not triggering some synchronization mechanism
|
||||
|
||||
## 1.5.0
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue