From cef764fd0e3b047dba449e3551c671b609737698 Mon Sep 17 00:00:00 2001 From: ysCha Date: Wed, 20 Aug 2025 19:01:44 +0900 Subject: [PATCH] =?UTF-8?q?[1267]=20500=EC=97=90=EB=9F=AC=20-=20str=20=3D>?= =?UTF-8?q?=20Number=20=EB=B3=80=ED=99=98=20(Number=EB=A1=9C=20=ED=95=9C?= =?UTF-8?q?=EB=B2=88=EB=8D=94)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/fabric/QLine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/fabric/QLine.js b/src/components/fabric/QLine.js index af9dd7a4..e9049ca8 100644 --- a/src/components/fabric/QLine.js +++ b/src/components/fabric/QLine.js @@ -17,7 +17,7 @@ export const QLine = fabric.util.createClass(fabric.Line, { initialize: function (points, options, length = 0) { // 소수점 전부 제거 - points = points.map((point) => Number(point?.toFixed(1))) + points = points.map((point) => Number(Number(point)?.toFixed(1))) this.callSuper('initialize', points, { ...options, selectable: options.selectable ?? true }) if (options.id) {