diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 4df9d620c6..3d07767fe2 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -2315,7 +2315,7 @@ uint16_t mode_meteor() { } // draw meteor - for (int j = 0; j < meteorSize; j++) { + for (unsigned j = 0; j < meteorSize; j++) { uint16_t index = in + j; if (index >= SEGLEN) { index -= SEGLEN; @@ -2354,7 +2354,7 @@ uint16_t mode_meteor_smooth() { } // draw meteor - for (int j = 0; j < meteorSize; j++) { + for (unsigned j = 0; j < meteorSize; j++) { uint16_t index = in + j; if (index >= SEGLEN) { index -= SEGLEN; diff --git a/wled00/data/index.css b/wled00/data/index.css index 18ad14287e..340ec4f6a9 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -1044,6 +1044,8 @@ textarea { .sbs { padding: 1px 0 1px 20px; display: var(--sgp); + width: 100%; + position: relative; } .pname { diff --git a/wled00/data/index.js b/wled00/data/index.js index 1b2c5dd978..c04250ec61 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -866,7 +866,7 @@ function populateSegments(s) } if (segCount < 2) { 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) 1) ? "block":"none"; // rsbtn parent