This commit is contained in:
Blaz Kristan
2023-10-01 13:04:05 +02:00
committed by Frank
parent e578f6ef05
commit 7e21003f07
3 changed files with 5 additions and 3 deletions

View File

@@ -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;

View File

@@ -1044,6 +1044,8 @@ textarea {
.sbs {
padding: 1px 0 1px 20px;
display: var(--sgp);
width: 100%;
position: relative;
}
.pname {

View File

@@ -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