Fix for #3405
This commit is contained in:
parent
5eadbe7ecd
commit
b0a56a431b
@ -2276,7 +2276,7 @@ uint16_t mode_meteor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// draw meteor
|
// draw meteor
|
||||||
for (int j = 0; j < meteorSize; j++) {
|
for (unsigned j = 0; j < meteorSize; j++) {
|
||||||
uint16_t index = in + j;
|
uint16_t index = in + j;
|
||||||
if (index >= SEGLEN) {
|
if (index >= SEGLEN) {
|
||||||
index -= SEGLEN;
|
index -= SEGLEN;
|
||||||
@ -2315,7 +2315,7 @@ uint16_t mode_meteor_smooth() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// draw meteor
|
// draw meteor
|
||||||
for (int j = 0; j < meteorSize; j++) {
|
for (unsigned j = 0; j < meteorSize; j++) {
|
||||||
uint16_t index = in + j;
|
uint16_t index = in + j;
|
||||||
if (index >= SEGLEN) {
|
if (index >= SEGLEN) {
|
||||||
index -= SEGLEN;
|
index -= SEGLEN;
|
||||||
|
@ -1034,6 +1034,7 @@ textarea {
|
|||||||
/*padding: 1px 0 1px 20px;*/
|
/*padding: 1px 0 1px 20px;*/
|
||||||
display: var(--sgp);
|
display: var(--sgp);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pname {
|
.pname {
|
||||||
|
@ -835,7 +835,7 @@ function populateSegments(s)
|
|||||||
}
|
}
|
||||||
if (segCount < 2) {
|
if (segCount < 2) {
|
||||||
gId(`segd${lSeg}`).classList.add("hide");
|
gId(`segd${lSeg}`).classList.add("hide");
|
||||||
gId(`segp0`).classList.add("hide");
|
if (parseInt(gId("seg0bri").value)==255) gId(`segp0`).classList.add("hide");
|
||||||
}
|
}
|
||||||
if (!isM && !noNewSegs && (cfg.comp.seglen?parseInt(gId(`seg${lSeg}s`).value):0)+parseInt(gId(`seg${lSeg}e`).value)<ledCount) gId(`segr${lSeg}`).classList.remove("hide");
|
if (!isM && !noNewSegs && (cfg.comp.seglen?parseInt(gId(`seg${lSeg}s`).value):0)+parseInt(gId(`seg${lSeg}e`).value)<ledCount) gId(`segr${lSeg}`).classList.remove("hide");
|
||||||
gId('segutil2').style.display = (segCount > 1) ? "block":"none"; // rsbtn parent
|
gId('segutil2').style.display = (segCount > 1) ? "block":"none"; // rsbtn parent
|
||||||
|
3048
wled00/html_ui.h
3048
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user