kopia lustrzana https://github.com/Aircoookie/WLED
rodzic
1ca4348ca0
commit
92d883db87
|
@ -1334,7 +1334,7 @@ function readState(s,command=false)
|
||||||
hasRGB |= !!(lc & 0x01);
|
hasRGB |= !!(lc & 0x01);
|
||||||
hasWhite |= !!(lc & 0x02);
|
hasWhite |= !!(lc & 0x02);
|
||||||
hasCCT |= !!(lc & 0x04);
|
hasCCT |= !!(lc & 0x04);
|
||||||
let sLen = (s.seg[i].stop - s.seg[i].start)*(s.seg[i].stopY - s.seg[i].startY);
|
let sLen = (s.seg[i].stop - s.seg[i].start)*(s.seg[i].stopY?(s.seg[i].stopY - s.seg[i].startY):1);
|
||||||
segLmax = segLmax < sLen ? sLen : segLmax;
|
segLmax = segLmax < sLen ? sLen : segLmax;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1087
wled00/html_ui.h
1087
wled00/html_ui.h
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue