From b166165c753004e474fece1f78b3e35982615ffa Mon Sep 17 00:00:00 2001 From: Al Hadebe Date: Sun, 19 May 2024 11:28:53 +1000 Subject: [PATCH] refactor loop encoder --- res/controllers/Numark-Scratch-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/controllers/Numark-Scratch-scripts.js b/res/controllers/Numark-Scratch-scripts.js index 8a62950c0bef..d2ef52b146db 100644 --- a/res/controllers/Numark-Scratch-scripts.js +++ b/res/controllers/Numark-Scratch-scripts.js @@ -255,7 +255,7 @@ NumarkScratch.Deck = function(number) { inKey: "pregain" }); - const encoderInvert = function(key) { + const encoderInvert = function(key) { return NumarkScratch.invertLoopEncoderFunction ? (key === "unshift" ? "shift" : "unshift") : key; };