Skip to content

Commit

Permalink
Traktor S2 Mk1: load_preset -> loaded_chain_preset
Browse files Browse the repository at this point in the history
  • Loading branch information
leifhelm committed Jul 2, 2023
1 parent b177b16 commit 92c842a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/controllers/Traktor-Kontrol-S2-MK1-hid-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ class EffectUnit {
const showParameters = engine.getValue(this.group, "show_parameters");
if (field.value > 0) {
if (this.parent.decks[this.number -1].shiftPressed) {
engine.setValue(this.group, "load_preset", 1);
engine.setValue(this.group, "loaded_chain_preset", 1);
return;
}
this.effectFocusLongPressTimer = engine.beginTimer(longPressTimeoutMilliseconds, function() {
Expand Down Expand Up @@ -903,7 +903,7 @@ class EffectParameter {

if (field.value > 0) {
if (this.effectUnit.shiftPressed()) {
engine.setValue(this.group, "load_preset", this.number+1);
engine.setValue(this.group, "loaded_chain_preset", this.number+1);
} else {
if (this.effectUnit.effectFocusChooseModeActive) {
if (focusedEffect === this.number) {
Expand Down

0 comments on commit 92c842a

Please sign in to comment.