Skip to content

Commit 35f1fe5

Browse files
ywwgacolombier
andauthored
Update res/controllers/Traktor-Kontrol-S4-MK3.js
Co-authored-by: Antoine Colombier <7086688+acolombier@users.noreply.github.com>
1 parent 41fe4c8 commit 35f1fe5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

res/controllers/Traktor-Kontrol-S4-MK3.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,11 +2084,7 @@ class S4Mk3Deck extends Deck {
20842084
// We do want to reset the slider to the physical position when receiving the
20852085
// first value.
20862086
if (!receivingFirstValue) {
2087-
let shiftValue = this.shifted;
2088-
if (ShiftTempoMode) {
2089-
shiftValue = !shiftValue;
2090-
}
2091-
if (shiftValue) {
2087+
if (this.shifted ^ ShiftTempoMode ) {
20922088
return;
20932089
}
20942090

0 commit comments

Comments
 (0)