summaryrefslogtreecommitdiffstats
path: root/res/controllers/Numark-Mixtrack-3-scripts.js
diff options
context:
space:
mode:
authorRadu Suciu <radusuciu@gmail.com>2017-03-08 14:43:43 -0800
committerRadu Suciu <radusuciu@gmail.com>2017-03-08 14:43:43 -0800
commita266753f6809ef1ac74c87ab7fa7f636072f8acd (patch)
treefac46ffe3f9475001b7153655b7af0a30e83ffd7 /res/controllers/Numark-Mixtrack-3-scripts.js
parentbde2c935a3297b7d8a282dd0a2cc7e64e548d207 (diff)
Small fixes
Diffstat (limited to 'res/controllers/Numark-Mixtrack-3-scripts.js')
-rw-r--r--res/controllers/Numark-Mixtrack-3-scripts.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/controllers/Numark-Mixtrack-3-scripts.js b/res/controllers/Numark-Mixtrack-3-scripts.js
index 7afe46fc10..234e7085ea 100644
--- a/res/controllers/Numark-Mixtrack-3-scripts.js
+++ b/res/controllers/Numark-Mixtrack-3-scripts.js
@@ -1378,7 +1378,7 @@ NumarkMixtrack3.OnLoadSelectedTrack = function(value, group, control) {
* for this deck. Decks with sync locked will all play at
* the same tempo, and decks that also have quantize
* enabled will always have their beats lined up.
- * If Sync Lock was previously activated, it just desactivate it,
+ * If Sync Lock was previously activated, it just deactivates it,
* regardless of the Short press/Double Press
*
* - SHIFT + Press : Toggle Key Lock
@@ -1496,14 +1496,14 @@ NumarkMixtrack3.WheelTouch = function(channel, control, value, status, group) {
- Scratching = deck.touch = true
*/
var deck = NumarkMixtrack3.deckFromGroup(group);
- var isplaying = engine.getValue(deck.group, "play");
-
+ var isPlaying = engine.getValue(deck.group, "play");
+
deck.touch = false;
deck.iCutStatus = false;
deck.seekingfast = false;
if (value === DOWN) {
- if (deck.jogWheelsInScratchMode || !isplaying) {
+ if (deck.jogWheelsInScratchMode || !isPlaying) {
engine.scratchEnable(deck.decknum, intervalsPerRev, rpm, alpha, beta);
// Wheel is On - test for Shift Key");