We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ebd169 commit 5b5ae0dCopy full SHA for 5b5ae0d
src/js/TuningSliders.js
@@ -487,14 +487,10 @@ TuningSliders.updateFilterSlidersDisplay = function() {
487
488
TuningSliders.updateFormPids = function(updateSlidersOnly = false) {
489
if (!updateSlidersOnly) {
490
- let rows = 3;
491
- if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
492
- rows = this.sliderPidsMode === 1 ? 2 : 3;
493
- }
494
FC.PID_NAMES.forEach(function (elementPid, indexPid) {
495
const pidElements = $(`.pid_tuning .${elementPid} input`);
496
pidElements.each(function (indexInput) {
497
- if (indexPid < rows && indexInput < rows) {
+ if (indexPid < 3 && indexInput < 3) {
498
$(this).val(FC.PIDS[indexPid][indexInput]);
499
}
500
});
0 commit comments