기준 좌표 수정

This commit is contained in:
hyojun.choi 2025-07-29 16:44:27 +09:00
parent 718fbc16fa
commit 37e50c14cc

View File

@ -127,8 +127,8 @@ export default function CircuitTrestleSetting({ id }) {
// roof polygon
const roofPolygons = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
let x, y
x = canvas.width / 2
y = canvas.height / 2
x = 0 //canvas.width / 2
y = 1000 //canvas.height / 2
/*if (roofPolygons.length > 0) {
let minX = Infinity,