diff --git a/src/components/fabric/QLine.js b/src/components/fabric/QLine.js index e551d744..23dbb0a4 100644 --- a/src/components/fabric/QLine.js +++ b/src/components/fabric/QLine.js @@ -16,6 +16,11 @@ export class QLine extends fabric.Group { #lengthTxt = 0 constructor(points, option = { isActiveLengthText: true }, lengthTxt) { + // 소수점 전부 제거 + points.forEach((point) => { + point = Math.round(point) + }) + const [x1, y1, x2, y2] = points if (!option.fontSize) {