wallbaseLine이 업어지는 경우
This commit is contained in:
parent
f9359c6445
commit
299d026f63
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user