diff --git a/packages/core/src/view/text/BaseText.tsx b/packages/core/src/view/text/BaseText.tsx index 573d8240b..7eb12c97e 100644 --- a/packages/core/src/view/text/BaseText.tsx +++ b/packages/core/src/view/text/BaseText.tsx @@ -91,7 +91,7 @@ export class BaseText< graphModel: { transformModel }, } = this.props - if (deltaX && deltaY) { + if (deltaX || deltaY) { const [curDeltaX, curDeltaY] = transformModel.fixDeltaXY(deltaX, deltaY) model.moveText(curDeltaX, curDeltaY) }