Skip to content

Commit e0f27b5

Browse files
committed
修复拖动组合边框子组件不形变的bug
1 parent 1c55e9e commit e0f27b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/modules/elements/Element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,6 +2161,8 @@ export default class Element implements IElement, ILinkedNodeValue {
21612161
const lockCoord = this.getBorderTransformLockCoord(index);
21622162
// 当前拖动的点的原始位置
21632163
const currentCoordOriginal = this._originalTransformerCoords[index];
2164+
// 当前拖动的点的原始位置
2165+
this._originalTransformMoveCoord = currentCoordOriginal;
21642166
// 当前拖动的点当前的位置
21652167
const currentCoord = {
21662168
x: currentCoordOriginal.x + offset.x,

0 commit comments

Comments
 (0)