diff --git a/src/components/renderer/RendererCircle.js b/src/components/renderer/RendererCircle.js index b93d0bd..f670dde 100644 --- a/src/components/renderer/RendererCircle.js +++ b/src/components/renderer/RendererCircle.js @@ -57,7 +57,7 @@ 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() + g1.push() available[x + 1][y] = false; available[x][y + 1] = false; available[x + 2][y + 1] = false; @@ -82,14 +82,14 @@ 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; } @@ -99,7 +99,7 @@ function listPoints(qrcode, params) { pointList.push() } else if (typeTable[x][y] === QRPointType.DATA) { if (rand(0,1) > 0.8) { - g2.push() + g2.push() } } }