From fb3276d49d8e626ae95f6c2dcebcae488a9e2882 Mon Sep 17 00:00:00 2001 From: dmy Date: Wed, 4 Mar 2026 10:58:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=9C=B0?= =?UTF-8?q?=E9=9D=A2=E5=A1=AB=E5=85=85=E7=BB=98=E5=88=B6=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webui/src/components/Geometry.vue | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/webui/src/components/Geometry.vue b/webui/src/components/Geometry.vue index 44484f5..67869aa 100644 --- a/webui/src/components/Geometry.vue +++ b/webui/src/components/Geometry.vue @@ -293,16 +293,6 @@ const drawGround = (range: ReturnType) => { ctx.moveTo(toCanvasX(leftX, range), toCanvasY(leftY, range)) ctx.lineTo(toCanvasX(rightX, range), toCanvasY(rightY, range)) ctx.stroke() - - // 地面填充 - ctx.fillStyle = 'rgba(121, 85, 72, 0.1)' - ctx.beginPath() - ctx.moveTo(toCanvasX(leftX, range), toCanvasY(leftY, range)) - ctx.lineTo(toCanvasX(rightX, range), toCanvasY(rightY, range)) - ctx.lineTo(toCanvasX(rightX, range), toCanvasY(-50, range)) - ctx.lineTo(toCanvasX(leftX, range), toCanvasY(-50, range)) - ctx.closePath() - ctx.fill() } // 监听参数变化