동쪽 치도리 배치시 문제 수정
This commit is contained in:
parent
6c23240345
commit
d95dcf608d
@ -3094,7 +3094,7 @@ export const useTrestle = () => {
|
||||
)
|
||||
}
|
||||
if (!halfBottomRightModule) {
|
||||
halfBottomRightPoint = { x: x + w, y: y - height / 2 }
|
||||
halfBottomRightPoint = { x: x + w, y: y + height / 2 }
|
||||
halfBottomRightModule = centerPoints.find(
|
||||
(centerPoint) => Math.abs(centerPoint.x - halfBottomRightPoint.x) < maxX && Math.abs(centerPoint.y - halfBottomRightPoint.y) < maxY,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user