[1085] : 【HANASYS DESIGN】架台表示の位置について

가대의 경우도 25% 적용할 수 있도록 수정
This commit is contained in:
hyojun.choi 2025-06-10 11:06:17 +09:00
parent 6d78a45ebf
commit 4ca3e4eae6

View File

@ -1060,7 +1060,8 @@ export const useTrestle = () => {
const roof = canvas.getObjects().find((obj) => obj.id === surface.parentId) const roof = canvas.getObjects().find((obj) => obj.id === surface.parentId)
const degree = getDegreeByChon(roof.roofMaterial.pitch) const degree = getDegreeByChon(roof.roofMaterial.pitch)
rackIntvlPct = rackIntvlPct === 0 ? 1 : rackIntvlPct // 0인 경우 1로 변경
rackIntvlPct = 100 / rackIntvlPct // 퍼센트로 변경
const moduleLeft = lastX ?? left const moduleLeft = lastX ?? left
const moduleTop = lastY ?? top const moduleTop = lastY ?? top