From 1ac10566b692495f4588ab0f1dc417f18206afcc Mon Sep 17 00:00:00 2001 From: ronso0 Date: Mon, 23 Jun 2025 18:09:37 +0200 Subject: [PATCH] (fix) Traktor Kontrol S4mk3: don't duplicate #12475 in script --- res/controllers/Traktor-Kontrol-S4-MK3.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/res/controllers/Traktor-Kontrol-S4-MK3.js b/res/controllers/Traktor-Kontrol-S4-MK3.js index 3ced6d5f0ca1..600dcf712874 100644 --- a/res/controllers/Traktor-Kontrol-S4-MK3.js +++ b/res/controllers/Traktor-Kontrol-S4-MK3.js @@ -847,19 +847,6 @@ class BeatLoopRollButton extends TriggerButton { throw Error(`BeatLoopRollButton ${options.number}'s size "${BeatLoopRolls[options.number]}" is invalid. Must be a float, or the literal 'half' or 'double'`); } options.key = `beatlooproll_${size}_activate`; - options.onShortPress = function() { - if (!this.deck.beatloopSize) { - this.deck.beatloopSize = engine.getValue(this.group, "beatloop_size"); - } - engine.setValue(this.group, this.inKey, true); - }; - options.onShortRelease = function() { - engine.setValue(this.group, this.inKey, false); - if (this.deck.beatloopSize) { - engine.setValue(this.group, "beatloop_size", this.deck.beatloopSize); - this.deck.beatloopSize = undefined; - } - }; } super(options); if (this.deck === undefined) {