diff --git a/src/hooks/module/useTrestle.js b/src/hooks/module/useTrestle.js index 7048e64e..32eef2a2 100644 --- a/src/hooks/module/useTrestle.js +++ b/src/hooks/module/useTrestle.js @@ -2251,7 +2251,15 @@ export const useTrestle = () => { let halfMaxX let halfMaxY const { direction, trestleDetail } = surface - const { moduleIntvlHor, moduleIntvlVer } = trestleDetail + let moduleIntvlHor, moduleIntvlVer + if (+roofSizeSet === 3) { + //육지붕의 경우 값 고정 + moduleIntvlHor = 300 + moduleIntvlVer = 100 + } else { + moduleIntvlHor = trestleDetail.moduleIntvlHor + moduleIntvlVer = trestleDetail.moduleIntvlVer + } if (direction === 'south' || direction === 'north') { maxX = width + moduleIntvlHor / 10