NaN일 경우 처리 추가
This commit is contained in:
parent
b2e5055ed1
commit
c70ab4e7e9
@ -2121,6 +2121,7 @@ export function useModuleBasicSetting(tabNum) {
|
||||
let calcModuleWidthCount = calcAreaWidth / (width + intvHor) //뺀 공간에서 모듈을 몇개를 넣을수 있는지 확인하는 로직
|
||||
|
||||
let calcAreaHeight = flowLines.bottom.y1 - flowLines.top.y1
|
||||
calcAreaHeight = isNaN(calcAreaHeight) ? moduleSetupSurface.height : calcAreaHeight
|
||||
let calcModuleHeightCount = calcAreaHeight / (height + intvVer)
|
||||
|
||||
if (type === MODULE_SETUP_TYPE.LAYOUT) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user