File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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>
1021021<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>
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 }
You can’t perform that action at this time.
0 commit comments