- 버그 수정
This commit is contained in:
parent
962eb009f9
commit
95240bb0ab
@ -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)),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user