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 f50c9e8 commit a7bad5dCopy full SHA for a7bad5d
wled00/data/index.js
@@ -2020,7 +2020,7 @@ function setSeg(s)
2020
var startY = parseInt(sY.value);
2021
var stopY = parseInt(eY.value);
2022
if (startY<sY.min || startY>sY.max) {sY.value=sY.min; return;} // prevent out of bounds
2023
- if (stopY<eY.min || stop>eY.max) {eY.value=eY.max; return;} // prevent out of bounds
+ if (stopY<eY.min || stopY>eY.max) {eY.value=eY.max; return;} // prevent out of bounds
2024
obj.seg.startY = startY;
2025
obj.seg.stopY = (cfg.comp.seglen?startY:0)+stopY;
2026
}
0 commit comments