kopia lustrzana https://github.com/viljoviitanen/qrcodejs
Added support for lightColor in SVG QR codes
rodzic
07f829d4e0
commit
31ba7cc2f8
|
@ -199,6 +199,7 @@ var QRCode;
|
|||
svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
||||
_el.appendChild(svg);
|
||||
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorLight, "width": "100%", "height": "100%"}));
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorDark, "width": "1", "height": "1", "id": "template"}));
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
|
|
Ładowanie…
Reference in New Issue