diff --git a/src/util/skeleton-utils.js b/src/util/skeleton-utils.js index a31d639e..3408036f 100644 --- a/src/util/skeleton-utils.js +++ b/src/util/skeleton-utils.js @@ -546,7 +546,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => { //visible: (!sktLine.attributes.isOuterEdge), }); - coordinateText(skeletonLine) + //coordinateText(skeletonLine) canvas.add(skeletonLine); skeletonLine.bringToFront(); existingLines.add(lineKey); // 추가된 라인을 추적 @@ -677,8 +677,9 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => { // 조건에 맞는 라인들만 필터링 const validWallLines = [...wallLines].sort((a, b) => a.idx - b.idx).filter((wallLine, index) => wallLine.idx - 1 === index) - console.log('', sortRoofLines, sortWallLines, sortWallBaseLines) - sortWallLines.length > 3 && + console.log('', sortRoofLines, sortWallLines, sortWallBaseLines); + + (sortWallLines.length === sortWallBaseLines.length > 3) && sortWallLines.forEach((wallLine, index) => { const roofLine = sortRoofLines[index] @@ -714,7 +715,7 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => { const line = new QLine([p1.x, p1.y, p2.x, p2.y], { parentId: roof.id, fontSize: roof.fontSize, - stroke: stroke, + stroke: 'black', strokeWidth: 4, name: 'eaveHelpLine', lineName: 'eaveHelpLine',