- 버그 수정

This commit is contained in:
김민식 2025-01-07 11:28:05 +09:00
parent 962eb009f9
commit 95240bb0ab

View File

@ -801,7 +801,9 @@ export function useModule() {
let [top, bottom, left, right] = [0, 0, 0, 0]
top = Math.min(...modules.map((module) => module.top))
bottom = Math.max(...modules.map((module) => module.top + module.height))
left = Math.min(...modules.map((module) => module.left))
right = Math.max(...modules.map((module) => module.left + module.width))
const moduleSurfacePos = {
top: Math.min(...moduleSetupSurface.points.map((point) => point.y)),
left: Math.min(...moduleSetupSurface.points.map((point) => point.x)),