微调
This commit is contained in:
parent
79b2aa189e
commit
4f261c9097
@ -72,7 +72,7 @@ function buildAbsorbablePositions(
|
||||
if (other.id == relayCabinet.id) {
|
||||
return;
|
||||
}
|
||||
const ps = other.datas.transform.position;
|
||||
const ps = other.position;
|
||||
const xs = new AbsorbableLine({ x: 0, y: ps.y }, { x: width, y: ps.y });
|
||||
const ys = new AbsorbableLine({ x: ps.x, y: 0 }, { x: ps.x, y: height });
|
||||
aps.push(xs, ys);
|
||||
|
Loading…
Reference in New Issue
Block a user