matrices: revert global setvalue feature (conflicts with switchers, makes it send osc twice)
This commit is contained in:
parent
b84d6777ab
commit
fcdcad81e3
1 changed files with 8 additions and 7 deletions
|
|
@ -25,12 +25,13 @@ module.exports = class _matrices_base extends _widgets_base {
|
|||
|
||||
}
|
||||
|
||||
setValue(v, options={}) {
|
||||
if (v && v.length == this.value.length) {
|
||||
for (var i in v) {
|
||||
this.widget[0].children[i].abstract.setValue(v[i], options)
|
||||
}
|
||||
}
|
||||
}
|
||||
// conflicts with switchers (double osc send)
|
||||
// setValue(v, options={}) {
|
||||
// if (v && v.length == this.value.length) {
|
||||
// for (var i in v) {
|
||||
// this.widget[0].children[i].abstract.setValue(v[i], options)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue