Merge pull request #3155 from werkstrom/patch-1
Adjustments to Pixel Art Converter
This commit is contained in:
commit
d17a41f7f1
@ -273,7 +273,7 @@ function getPixelRGBValues(base64Image) {
|
||||
|
||||
//Aggregated Strings That should be returned to the user
|
||||
if (i > 0){
|
||||
JSONledString = JSONledString + '\n';
|
||||
JSONledString = JSONledString + '\n<NEXT COMMAND (multiple commands not supported in API/preset setup)>\n';
|
||||
curlString = curlString + ' && ';
|
||||
}
|
||||
JSONledString += thisJSONledString;
|
||||
|
@ -60,7 +60,7 @@
|
||||
</td>
|
||||
<td class="adaptiveTD">
|
||||
<select id="colorFormatSelector" class="mainSelector">
|
||||
<option value="hex" selected>HEX (#f4f4f4)</option>
|
||||
<option value="hex" selected>HEX ("f4f4f4")</option>
|
||||
<option value="dec">DEC (244,244,244)</option>
|
||||
</select>
|
||||
</td>
|
||||
@ -71,9 +71,9 @@
|
||||
</td>
|
||||
<td class="adaptiveTD">
|
||||
<select id="addressingSelector" class="mainSelector">
|
||||
<option value="hybrid" selected>Hybrid (#f0f0f0,10, 17, #f4f4f4)</option>
|
||||
<option value="range">Range (10, 17, #f4f4f4)</option>
|
||||
<option value="single">Single (#f4f4f4)</option>
|
||||
<option value="hybrid" selected>Hybrid ("f0f0f0",10, 17, "f4f4f4")</option>
|
||||
<option value="range">Range (10, 17, "f4f4f4")</option>
|
||||
<option value="single">Single ("f4f4f4")</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -196,7 +196,7 @@
|
||||
<button id="sendJSONledbutton" class="buttonclass"></button>
|
||||
</div>
|
||||
<div>
|
||||
<h3><div id="version">Version 1.0.7</div> - <a href="https://github.com/werkstrom/WLED-PixelArtConverter/blob/main/README.md" target="_blank">Help/About</a></h3>
|
||||
<h3><div id="version">Version 1.0.8</div> - <a href="https://github.com/werkstrom/WLED-PixelArtConverter/blob/main/README.md" target="_blank">Help/About</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id=bottom-part style="display: none" class=bottom-part></div>
|
||||
|
@ -69,7 +69,6 @@ cjb.addEventListener('click', async () => {
|
||||
lSS.addEventListener("change", gen);
|
||||
szY.addEventListener("change", gen);
|
||||
szX.addEventListener("change", gen);
|
||||
//frm.addEventListener("change", gen);
|
||||
cFS.addEventListener("change", gen);
|
||||
aS.addEventListener("change", gen);
|
||||
brgh.addEventListener("change", gen);
|
||||
@ -115,6 +114,7 @@ cLN.oninput = () => {
|
||||
frm.addEventListener("change", () => {
|
||||
for (var i = 0; i < hideableRows.length; i++) {
|
||||
hideableRows[i].classList.toggle("hide", frm.value !== "ha");
|
||||
gen();
|
||||
}
|
||||
});
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user