Merge pull request 'dev' (#261) from dev into prd-deploy
Reviewed-on: #261
This commit is contained in:
commit
d49fdc8948
@ -232,10 +232,7 @@ export function useModuleBasicSetting(tabNum) {
|
||||
//가대 상세 데이터 기준으로 모듈 설치 배치면 생성
|
||||
const makeModuleInstArea = (roof, trestleDetail) => {
|
||||
//지붕 객체 반환
|
||||
if (!roof.pitch) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if (tabNum == 3) {
|
||||
if (!roof) {
|
||||
return
|
||||
|
||||
@ -98,7 +98,7 @@ export function useEvent() {
|
||||
|
||||
// 줌 값 제한 (최소 0.5배, 최대 5배)
|
||||
if (zoom > 5) zoom = 5
|
||||
if (zoom < 0.5) zoom = 0.5
|
||||
if (zoom < 0.1) zoom = 0.1
|
||||
|
||||
setCanvasZoom(Number((zoom * 100).toFixed(0)))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user