Skip to content

Commit e5b22bc

Browse files
committed
Cosmetic 2D Setup change: Start at Panel 1 instead of 0
1 parent 994a9e7 commit e5b22bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wled00/data/settings_2D.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
var pw = parseInt(d.Sf.PW.value);
9999
var ph = parseInt(d.Sf.PH.value);
100100
//WLEDMM: change name to id
101-
let b = `<div id="pnl${i}"><hr class="sml">Panel ${i}<br>
101+
let b = `<div id="pnl${i}"><hr class="sml">Panel ${i+1}<br>
102102
1<sup>st</sup> LED: <select id="P${i}B" name="P${i}B" oninput="draw()">
103103
<option value="0">Top</option>
104104
<option value="1">Bottom</option>
@@ -334,7 +334,7 @@
334334

335335
ctx.font = '40px Arial';
336336
ctx.fillStyle = "orange";
337-
ctx.fillText(p, topLeftX + pw/2*ppL - 10, topLeftY + ph/2*ppL + 10);
337+
ctx.fillText(p+1, topLeftX + pw/2*ppL - 10, topLeftY + ph/2*ppL + 10);
338338
}
339339
gId("MD").innerHTML = "Matrix Dimensions (W*H=LC): " + maxWidth + " x " + maxHeight + " = " + maxWidth * maxHeight;
340340
}

0 commit comments

Comments
 (0)