input: when submitting a value to another widget, the feedback from this widget doesn't trigger a second osc message anymore
This commit is contained in:
parent
39ae150a81
commit
b67513625d
2 changed files with 4 additions and 2 deletions
|
|
@ -154,12 +154,14 @@ module.exports = class Input extends _canvas_base {
|
|||
for (var i=widget.length-1; i>=0; i--) {
|
||||
if (widget[i].setValue) {
|
||||
widget[i].setValue(this.value, options)
|
||||
this.setValue(widget[i].getValue(), {...options, internal:true})
|
||||
this.setValue(widget[i].getValue(), {...options, internal:true, sentOnce:options.send})
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (options.sentOnce) options.send = false
|
||||
|
||||
this.stringValue = this.getStringValue()
|
||||
this.draw()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue