기준 좌표 수정
This commit is contained in:
parent
718fbc16fa
commit
37e50c14cc
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user