From 809c69da4f4b93653dad1317c8668613d95380bf Mon Sep 17 00:00:00 2001 From: vmeet Date: Wed, 30 Jul 2025 17:53:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=B7=A6=E4=B8=8A=E8=BE=B9=E6=A1=86=E6=97=B6=E4=B8=8B=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E5=88=9D=E5=A7=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/canvas/draw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/canvas/draw.js b/src/canvas/draw.js index d0b033998..bf72d8a88 100644 --- a/src/canvas/draw.js +++ b/src/canvas/draw.js @@ -271,7 +271,7 @@ class Draw { border(style, color) { const { ctx } = this; - ctx.lineWidth = thinLineWidth; + ctx.lineWidth = thinLineWidth(); ctx.strokeStyle = color; // console.log('style:', style); if (style === 'medium') { @@ -284,7 +284,7 @@ class Draw { ctx.setLineDash([npx(1), npx(1)]); } else if (style === 'double') { ctx.setLineDash([npx(2), 0]); - } + } return this; } From 9c285ed8a2f3ae7b6c81b856fa0182dcd6abc72b Mon Sep 17 00:00:00 2001 From: vmeet Date: Wed, 30 Jul 2025 18:09:28 +0800 Subject: [PATCH 2/2] add run version --- netlify.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000..2f5fe7d9c --- /dev/null +++ b/netlify.toml @@ -0,0 +1,2 @@ +[build.environment] +NODE_VERSION = "10" \ No newline at end of file