aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-11 13:37:54 -0500
committerbobzel <zzzman@gmail.com>2021-01-11 13:37:54 -0500
commitb239f049578edeefc5971f3e682e3e70e2e76132 (patch)
tree9e92ab94fe35fc3d2128c29275f4d0b2cb03cd90 /src/client/views/nodes/PresBox.tsx
parenta8545c5f31200d2d58696223c5050cbf9cf553ae (diff)
from last
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-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;