isite 2021.12.4 → 2021.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1084,7 +1084,7 @@
|
|
|
1084
1084
|
text: options.text,
|
|
1085
1085
|
width: options.width || 256,
|
|
1086
1086
|
height: options.height || 256,
|
|
1087
|
-
colorDark: options.colorDark || '#
|
|
1087
|
+
colorDark: options.colorDark || '#000000',
|
|
1088
1088
|
colorLight: options.colorLight || '#ffffff',
|
|
1089
1089
|
correctLevel: options.correctLevel || QRCode.CorrectLevel.L,
|
|
1090
1090
|
});
|
|
@@ -150,7 +150,7 @@ site.printAsImage = function (options, callback) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
domtoimage
|
|
153
|
-
.toPng(node, { quality: 1, bgcolor: '#ffffff'
|
|
153
|
+
.toPng(node, { quality: 1, bgcolor: '#ffffff' })
|
|
154
154
|
.then(function (dataUrl) {
|
|
155
155
|
var img = new Image();
|
|
156
156
|
img.src = dataUrl;
|