Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit b0a56a4

Browse files
committed
Fix for wled#3405
1 parent 5eadbe7 commit b0a56a4

4 files changed

Lines changed: 1528 additions & 1527 deletions

File tree

wled00/FX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,7 +2276,7 @@ uint16_t mode_meteor() {
22762276
}
22772277

22782278
// draw meteor
2279-
for (int j = 0; j < meteorSize; j++) {
2279+
for (unsigned j = 0; j < meteorSize; j++) {
22802280
uint16_t index = in + j;
22812281
if (index >= SEGLEN) {
22822282
index -= SEGLEN;
@@ -2315,7 +2315,7 @@ uint16_t mode_meteor_smooth() {
23152315
}
23162316

23172317
// draw meteor
2318-
for (int j = 0; j < meteorSize; j++) {
2318+
for (unsigned j = 0; j < meteorSize; j++) {
23192319
uint16_t index = in + j;
23202320
if (index >= SEGLEN) {
23212321
index -= SEGLEN;

wled00/data/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ textarea {
10341034
/*padding: 1px 0 1px 20px;*/
10351035
display: var(--sgp);
10361036
width: 100%;
1037+
position: relative;
10371038
}
10381039

10391040
.pname {

wled00/data/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ function populateSegments(s)
835835
}
836836
if (segCount < 2) {
837837
gId(`segd${lSeg}`).classList.add("hide");
838-
gId(`segp0`).classList.add("hide");
838+
if (parseInt(gId("seg0bri").value)==255) gId(`segp0`).classList.add("hide");
839839
}
840840
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");
841841
gId('segutil2').style.display = (segCount > 1) ? "block":"none"; // rsbtn parent

0 commit comments

Comments
 (0)