code spell checking - part4 (MM specific)
This commit is contained in:
@@ -1384,7 +1384,7 @@ function toggleBubble(e)
|
||||
}
|
||||
|
||||
// updates segment length upon input of segment values
|
||||
function updateLen(s, draw=true) //WLEDMM conditonally draw segment view
|
||||
function updateLen(s, draw=true) //WLEDMM conditionally draw segment view
|
||||
{
|
||||
if (!gId(`seg${s}s`)) return;
|
||||
var start = parseInt(gId(`seg${s}s`).value);
|
||||
|
||||
@@ -25,7 +25,7 @@ function peek(c) {
|
||||
let mW = leds[2]; // matrix width
|
||||
let mH = leds[3]; // matrix height
|
||||
let pPL = Math.min(c.width / mW, c.height / mH); // pixels per LED (width of circle)
|
||||
let lOf = Math.floor((c.width - pPL*mW)/2); //left offeset (to center matrix)
|
||||
let lOf = Math.floor((c.width - pPL*mW)/2); //left offset (to center matrix)
|
||||
var i = 4; //same offset as in ws.cpp
|
||||
ctx.clearRect(0, 0, c.width, c.height); //WLEDMM
|
||||
function colorAmp(color) {
|
||||
|
||||
@@ -370,7 +370,7 @@
|
||||
<span id="lssuc" style="color:green; display:none">✔ Configuration saved!</span>
|
||||
<span id="lserr" style="color:red; display:none">⚠ Could not load configuration.</span>
|
||||
</div>
|
||||
<!-- WLEDMM: no gpios here as it is generated -->
|
||||
<!-- WLEDMM: no GPIOs here as it is generated -->
|
||||
<div id="um">Loading settings...</div>
|
||||
<div name="errorMessage"></div>
|
||||
<hr><button type="button" onclick="B()">Back</button><button type="submit">Save</button>
|
||||
|
||||
Reference in New Issue
Block a user