summaryrefslogtreecommitdiffstats
path: root/res/controllers/Denon-MC4000-scripts.js
diff options
context:
space:
mode:
authorXerus <27jf@web.de>2018-12-27 16:24:19 +0100
committerXerus <27jf@web.de>2018-12-27 16:24:19 +0100
commit0af5e1f6088fe300abd1f4264a0de25503eba784 (patch)
tree9b235f1ca559575926a003670a0e782691e67293 /res/controllers/Denon-MC4000-scripts.js
parentb508ccc1042151fa8a875f7adb854ea240a323b6 (diff)
Replace tabs with spaces
Diffstat (limited to 'res/controllers/Denon-MC4000-scripts.js')
-rw-r--r--res/controllers/Denon-MC4000-scripts.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/controllers/Denon-MC4000-scripts.js b/res/controllers/Denon-MC4000-scripts.js
index 4daba0c7b6..a9b4788a5f 100644
--- a/res/controllers/Denon-MC4000-scripts.js
+++ b/res/controllers/Denon-MC4000-scripts.js
@@ -133,14 +133,14 @@ MC4000.Deck = function (channel) {
/// Callback to set the FX wet/dry value
MC4000.fxWetDry = function(midichan, control, value, status, group) {
- var numTicks = (value < 0x40) ? value: (value - 0x80);
- var newVal = engine.getValue(group, "mix") + numTicks/64.0*2;
- engine.setValue(group, "mix", Math.max(0, Math.min(1, newVal)));
+ var numTicks = (value < 0x40) ? value: (value - 0x80);
+ var newVal = engine.getValue(group, "mix") + numTicks/64.0*2;
+ engine.setValue(group, "mix", Math.max(0, Math.min(1, newVal)));
};
/// Callback to set the headphone split mode
MC4000.headphoneSplit = function (channel, control, value, status, group) {
- engine.setValue(group, "headSplit", Math.min(value, 1.0));
+ engine.setValue(group, "headSplit", Math.min(value, 1.0));
}
/// Callback to set the left Vu Meter