innerLines 오류 수정

This commit is contained in:
Jaeyoung Lee 2025-09-10 13:45:01 +09:00
parent 098fb8efc6
commit 760becfb0d

View File

@ -1372,16 +1372,16 @@ export const drawGableRoof = (roofId, canvas, textMode) => {
innerLines.push(drawRoofLine(points, canvas, roof, textMode))
} else {
//다른방향 처리
drawHipLine(points, canvas, roof, textMode, null, currentDegree, currentDegree)
innerLines.push(drawHipLine(points, canvas, roof, textMode, null, currentDegree, currentDegree))
}
} else if (analyze.isVertical) {
//현재라인이 수직선일때
if (isVertical) {
//같은방향 처리
drawRoofLine(points, canvas, roof, textMode)
innerLines.push(drawRoofLine(points, canvas, roof, textMode))
} else {
//다른방향 처리
drawHipLine(points, canvas, roof, textMode, null, currentDegree, currentDegree)
innerLines.push(drawHipLine(points, canvas, roof, textMode, null, currentDegree, currentDegree))
}
}
})