diff --git a/src/components/renderer/RendererFunc.js b/src/components/renderer/RendererFunc.js
index 6f5af9f..f08e1fd 100644
--- a/src/components/renderer/RendererFunc.js
+++ b/src/components/renderer/RendererFunc.js
@@ -29,7 +29,7 @@ function listPoints(qrcode, params) {
if (size <= 0) size = 1.0
- if (funcType === 1) {
+ if (funcType === 1 && type === 1) {
pointList.push()
}
@@ -86,13 +86,17 @@ function listPoints(qrcode, params) {
opacityF = 1
} else {
sizeF = 1/4
+ if (type === 0) {
+ sizeF = 1/4 - 0.1
+ }
}
if (type === 0) {
- sizeF = sizeF + 0.2;
+ sizeF = 2 * sizeF + 0.1;
if (qrcode.isDark(x, y)) {
pointList.push()
} else {
- pointList.push()
+ sizeF = sizeF - 0.1
+ pointList.push()
}
}
else if (type === 1) {