matrices: revert global setvalue feature (conflicts with switchers, makes it send osc twice)

This commit is contained in:
jean-emmanuel 2017-01-10 22:49:37 +01:00
parent b84d6777ab
commit fcdcad81e3

View file

@ -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)
// }
// }
// }
}