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