aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/PresBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 271a7274f..90897b8fd 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -777,7 +777,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>
if (this.targetDoc.isInkMask) {
if (this.activeItem.y !== undefined &&
this.activeItem.x !== undefined &&
- this.targetDoc.y !== undefined &&
+ this.targetDoc.x !== undefined &&
this.targetDoc.y !== undefined) {
const timer = (ms: number) => new Promise(res => this._presTimer = setTimeout(res, ms));
const time = 10;