diff --git a/src/components/renderer/RendererCircle.js b/src/components/renderer/RendererCircle.js
index f670dde..0cf00fb 100644
--- a/src/components/renderer/RendererCircle.js
+++ b/src/components/renderer/RendererCircle.js
@@ -58,6 +58,9 @@ function listPoints(qrcode, params) {
}
if (ctn && qrcode.isDark(x + 1, y) && qrcode.isDark(x + 1, y + 2) && qrcode.isDark(x, y + 1) && qrcode.isDark(x + 2, y + 1)) {
g1.push()
+ if (qrcode.isDark(x + 1, y + 1)) {
+ g1.push()
+ }
available[x + 1][y] = false;
available[x][y + 1] = false;
available[x + 2][y + 1] = false;
@@ -82,24 +85,24 @@ function listPoints(qrcode, params) {
}
if (available[x][y] && y < nCount - 1) {
if (qrcode.isDark(x, y) && qrcode.isDark(x, y + 1)) {
- pointList.push()
+ pointList.push()
available[x][y] = false;
available[x][y + 1] = false;
}
}
if (available[x][y] && x < nCount - 1) {
if (qrcode.isDark(x, y) && qrcode.isDark(x + 1, y)) {
- pointList.push()
+ pointList.push()
available[x][y] = false;
available[x + 1][y] = false;
}
}
if (available[x][y]) {
if (qrcode.isDark(x, y)) {
- pointList.push()
+ pointList.push()
} else if (typeTable[x][y] === QRPointType.DATA) {
- if (rand(0,1) > 0.8) {
- g2.push()
+ if (rand(0,1) > 0.85) {
+ g2.push()
}
}
}