summaryrefslogtreecommitdiffstats
path: root/res/controllers/midi-components-0.0.js
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-08-16 19:04:40 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-08-16 19:04:40 +0200
commit7eb52369a0936e7061d0e2f2bfeff7ddffea8d29 (patch)
tree504727476750b8f4eb273a69125c9b5c4be06bfa /res/controllers/midi-components-0.0.js
parent14eacc9a1229dcce87c8140890719ce937bc7d93 (diff)
midi-components: Fix `[Channelundefined]` when using Deck with number
Diffstat (limited to 'res/controllers/midi-components-0.0.js')
-rw-r--r--res/controllers/midi-components-0.0.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/controllers/midi-components-0.0.js b/res/controllers/midi-components-0.0.js
index c5605f016c..792cd737e9 100644
--- a/res/controllers/midi-components-0.0.js
+++ b/res/controllers/midi-components-0.0.js
@@ -676,7 +676,7 @@
print("ERROR! new Deck() called without specifying any deck numbers");
return;
}
- this.currentDeck = "[Channel" + deckNumbers[0] + "]";
+ this.currentDeck = "[Channel" + this.deckNumbers[0] + "]";
};
Deck.prototype = new ComponentContainer({
setCurrentDeck: function(newGroup) {