summaryrefslogtreecommitdiffstats
path: root/res/controllers/midi-components-0.0.js
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-05-12 14:53:14 -0500
committerBe <be@mixxx.org>2020-05-12 14:53:14 -0500
commitcb3c6f0b10530d406cde8f6f157ecfe340b6f266 (patch)
treeef208b6632995a440ab4a2eb8c48cb1f27b499f7 /res/controllers/midi-components-0.0.js
parent4b297dd921ba144e32baddc70aecd27bd3e63c03 (diff)
parent50b0e41bc2a1686f1466d91dae605ce91759e8cb (diff)
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Diffstat (limited to 'res/controllers/midi-components-0.0.js')
-rw-r--r--res/controllers/midi-components-0.0.js4
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 76c93796e7..c4ab3a1f49 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);
}
});
}