Added permanent ledmap 0.
This commit is contained in:
parent
5c744ad9aa
commit
cd1765a0f3
@ -749,7 +749,7 @@ input[type=range]::-moz-range-thumb {
|
|||||||
width: 42px;
|
width: 42px;
|
||||||
}
|
}
|
||||||
.sel-p {
|
.sel-p {
|
||||||
min-width: 3em;
|
width: 4.5em;
|
||||||
}
|
}
|
||||||
.sel-pl {
|
.sel-pl {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1933,7 +1933,7 @@ function saveP(i,pl)
|
|||||||
obj.ib = gId(`p${i}ibtgl`).checked;
|
obj.ib = gId(`p${i}ibtgl`).checked;
|
||||||
obj.sb = gId(`p${i}sbtgl`).checked;
|
obj.sb = gId(`p${i}sbtgl`).checked;
|
||||||
obj.sc = gId(`p${i}sbchk`).checked;
|
obj.sc = gId(`p${i}sbchk`).checked;
|
||||||
if (gId(`p${i}lmp`).value!=="") obj.ledmap = gId(`p${i}lmp`).value;
|
if (gId(`p${i}lmp`).value!=="") obj.ledmap = parseInt(gId(`p${i}lmp`).value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2402
wled00/html_ui.h
2402
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
@ -562,7 +562,7 @@ void serializeInfo(JsonObject root)
|
|||||||
if (i) sprintf(fileName +7, "%d", i);
|
if (i) sprintf(fileName +7, "%d", i);
|
||||||
strcat(fileName, ".json");
|
strcat(fileName, ".json");
|
||||||
bool isFile = WLED_FS.exists(fileName);
|
bool isFile = WLED_FS.exists(fileName);
|
||||||
if (isFile) ledmaps.add(i);
|
if (isFile || i==0) ledmaps.add(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
JsonObject wifi_info = root.createNestedObject("wifi");
|
JsonObject wifi_info = root.createNestedObject("wifi");
|
||||||
|
Loading…
Reference in New Issue
Block a user