From fcdcad81e32951fd0b10c41cad00b7ecb859a0aa Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 10 Jan 2017 22:49:37 +0100 Subject: [PATCH] matrices: revert global setvalue feature (conflicts with switchers, makes it send osc twice) --- .../js/app/widgets/matrices/_matrices_base.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index f5f1a329..0591f24a 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -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) + // } + // } + // } }