From b11424e70e8c8867cf31b90eb224fe34544abf4f Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Thu, 24 Apr 2025 10:29:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9C=A1=EC=A7=80=EB=B6=95=EC=9D=BC=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20=EA=B0=92=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/module/useTrestle.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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