moduleSetupSurfaces 별 계산 작업중
This commit is contained in:
parent
ca87397c60
commit
bdffcc78b6
@ -1080,7 +1080,7 @@ export function useModuleBasicSetting() {
|
||||
}
|
||||
|
||||
leftTopCnt = centerPoints.filter(
|
||||
(centerPoint) => Math.abs(centerPoint.x - topLeftPoint.x) < 2 && Math.abs(centerPoint.y - topRightPoint.y) < 2,
|
||||
(centerPoint) => Math.abs(centerPoint.x - topLeftPoint.x) < 2 && Math.abs(centerPoint.y - topLeftPoint.y) < 2,
|
||||
).length
|
||||
rightTopCnt = centerPoints.filter(
|
||||
(centerPoint) => Math.abs(centerPoint.x - topRightPoint.x) < 2 && Math.abs(centerPoint.y - topRightPoint.y) < 2,
|
||||
@ -1098,7 +1098,6 @@ export function useModuleBasicSetting() {
|
||||
}
|
||||
if (leftTopCnt + rightTopCnt === 0) {
|
||||
exposedTop++
|
||||
return
|
||||
}
|
||||
})
|
||||
// 완전 노출 하면 계산
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user