From e47788e48710ca80a806e56980210c0fc0a65d3d Mon Sep 17 00:00:00 2001 From: ysCha Date: Fri, 19 Dec 2025 08:55:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=99=EC=9D=B4=EB=8F=99=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/fabric/QLine.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/fabric/QLine.js b/src/components/fabric/QLine.js index 02448cd7..830adf7d 100644 --- a/src/components/fabric/QLine.js +++ b/src/components/fabric/QLine.js @@ -12,6 +12,7 @@ export const QLine = fabric.util.createClass(fabric.Line, { length: 0, direction: null, idx: 0, + drawNo: 0, area: 0, children: [], padding: 5, @@ -31,6 +32,7 @@ export const QLine = fabric.util.createClass(fabric.Line, { this.line = this this.idx = options.idx ?? 0 + this.drawNo = options.drawNo ?? 0 this.direction = options.direction ?? getDirectionByPoint({ x: this.x1, y: this.y1 }, { x: this.x2, y: this.y2 }) this.textMode = options.textMode ?? 'plane' // plane:복시도, actual:실측, none:표시안함 this.textVisible = options.textVisible ?? true