Skip to content

Commit

Permalink
Fix for Aircoookie#3405
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek authored and softhack007 committed Oct 6, 2023
1 parent e578f6e commit 7e21003
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions wled00/data/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,8 @@ textarea {
.sbs {
padding: 1px 0 1px 20px;
display: var(--sgp);
width: 100%;
position: relative;
}

.pname {
Expand Down
2 changes: 1 addition & 1 deletion wled00/data/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)<ledCount) gId(`segr${lSeg}`).classList.remove("hide");
gId('segutil2').style.display = (segCount > 1) ? "block":"none"; // rsbtn parent
Expand Down

0 comments on commit 7e21003

Please sign in to comment.