#662 처마 커버 설치 위치 확인 요청
This commit is contained in:
parent
5e50f16f88
commit
771df798c5
@ -80,6 +80,7 @@ export const useTrestle = () => {
|
||||
const modules = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.MODULE)
|
||||
|
||||
modules.forEach((module) => {
|
||||
module.fire('polygonMoved')
|
||||
const { x, y } = module.getCenterPoint()
|
||||
const isExposedBottom = result.exposedBottomPoints.some((point) => Math.abs(point.x - x) < 2 && Math.abs(point.y - y) < 2)
|
||||
const isLeftExposedHalfBottom = result.leftExposedHalfBottomPoints.some((point) => Math.abs(point.x - x) < 2 && Math.abs(point.y - y) < 2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user