From 756283205eddd611a4c37e681aa4f7931bab2003 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Thu, 6 Feb 2025 20:52:03 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8A=B9=EC=A0=95=20=EC=9D=B4=EB=A6=84?= =?UTF-8?q?=EC=9D=80=20=EA=B8=B8=EC=9D=B4=20=EC=83=9D=EC=84=B1=20=EC=95=88?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/fabric/QPolygon.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/fabric/QPolygon.js b/src/components/fabric/QPolygon.js index e095de42..3f82dec1 100644 --- a/src/components/fabric/QPolygon.js +++ b/src/components/fabric/QPolygon.js @@ -248,6 +248,9 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, { }, addLengthText() { + if (['module', 'arrow'].includes(this.name)) { + return + } this.canvas ?.getObjects() .filter((obj) => obj.name === 'lengthText' && obj.parentId === this.id)