From 8340a6469843f6861c7b13a4a011d0ca25ab1e42 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Fri, 27 Sep 2024 17:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=AD=A3=E6=96=B9=E5=BD=A2?= =?UTF-8?q?=E5=92=8C=E6=A4=AD=E5=9C=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/draw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/draw.js b/src/utils/draw.js index 5929afb..6b52006 100644 --- a/src/utils/draw.js +++ b/src/utils/draw.js @@ -77,7 +77,7 @@ export const drawElliptic = (ctx, x, y, rX, rY, fill = false) => { drawWrap( ctx, () => { - ctx.ellipse(x, y, rX, rY, 0,0, 2 * Math.PI) + ctx.ellipse(x, y, rX/2, rY/2, 0,0, 2 * Math.PI) }, fill )