diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-05-11 23:19:39 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-05-11 23:36:59 +0200 |
commit | 1631fb21332d13c0a5d5c6184fc4c03a405bf3cd (patch) | |
tree | 1e55f8679ebe835ca022f99de5be37c63ceca6ee /res/controllers/midi-components-0.0.js | |
parent | cfc90a63fa21d7decee9516a73a61368d676babc (diff) |
midi-components: Fix naming of connection callback parameter
Diffstat (limited to 'res/controllers/midi-components-0.0.js')
-rw-r--r-- | res/controllers/midi-components-0.0.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/controllers/midi-components-0.0.js b/res/controllers/midi-components-0.0.js index 2416645659..b00cb33db9 100644 --- a/res/controllers/midi-components-0.0.js +++ b/res/controllers/midi-components-0.0.js @@ -349,9 +349,9 @@ connect: function() { Button.prototype.connect.call(this); // call parent connect if (undefined !== this.group && this.colorKey !== undefined) { - this.connections[1] = engine.makeConnection(this.group, this.colorKey, function(id) { + this.connections[1] = engine.makeConnection(this.group, this.colorKey, function(color) { if (engine.getValue(this.group, this.outKey)) { - this.outputColor(id); + this.outputColor(color); } }); } |