Bugfix. #2945
This commit is contained in:
parent
f50c9e855c
commit
a7bad5df61
@ -2020,7 +2020,7 @@ function setSeg(s)
|
|||||||
var startY = parseInt(sY.value);
|
var startY = parseInt(sY.value);
|
||||||
var stopY = parseInt(eY.value);
|
var stopY = parseInt(eY.value);
|
||||||
if (startY<sY.min || startY>sY.max) {sY.value=sY.min; return;} // prevent out of bounds
|
if (startY<sY.min || startY>sY.max) {sY.value=sY.min; return;} // prevent out of bounds
|
||||||
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
|
||||||
obj.seg.startY = startY;
|
obj.seg.startY = startY;
|
||||||
obj.seg.stopY = (cfg.comp.seglen?startY:0)+stopY;
|
obj.seg.stopY = (cfg.comp.seglen?startY:0)+stopY;
|
||||||
}
|
}
|
||||||
|
3817
wled00/html_ui.h
3817
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2212110
|
#define VERSION 2212130
|
||||||
|
|
||||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user