矩形移动bug调整

This commit is contained in:
joylink_zhaoerwei 2023-06-06 16:49:12 +08:00
parent 729a3c25b4
commit fe0ba85437

View File

@ -156,7 +156,9 @@ function buildAbsorbablePositions(rect: Rect): AbsorbablePosition[] {
return;
}
other.linePoints.forEach((point) => {
const absorbablePoint = new AbsorbablePoint(point);
const absorbablePoint = new AbsorbablePoint(
other.localToCanvasPoint(point)
);
aps.push(absorbablePoint);
});
});