Skip to content

Commit a7bad5d

Browse files
committed
Bugfix. wled#2945
1 parent f50c9e8 commit a7bad5d

File tree

3 files changed

+1910
-1911
lines changed

3 files changed

+1910
-1911
lines changed

wled00/data/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ function setSeg(s)
20202020
var startY = parseInt(sY.value);
20212021
var stopY = parseInt(eY.value);
20222022
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
2023+
if (stopY<eY.min || stopY>eY.max) {eY.value=eY.max; return;} // prevent out of bounds
20242024
obj.seg.startY = startY;
20252025
obj.seg.stopY = (cfg.comp.seglen?startY:0)+stopY;
20262026
}

0 commit comments

Comments
 (0)