- module list 탐색 방식 수정
This commit is contained in:
parent
28640a7000
commit
5040f2171c
@ -822,10 +822,7 @@ export function useModule() {
|
|||||||
|
|
||||||
const alignModule = (type, surfaceArray) => {
|
const alignModule = (type, surfaceArray) => {
|
||||||
surfaceArray.forEach((surface) => {
|
surfaceArray.forEach((surface) => {
|
||||||
const modules = canvas
|
const modules = surface.modules
|
||||||
.getObjects()
|
|
||||||
.filter((module) => module.name === POLYGON_TYPE.MODULE)
|
|
||||||
.filter((module) => module.surfaceId === surface.id)
|
|
||||||
|
|
||||||
const objects = getObjects()
|
const objects = getObjects()
|
||||||
let [top, bottom, left, right] = [0, 0, 0, 0]
|
let [top, bottom, left, right] = [0, 0, 0, 0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user