diff options
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index ce1149d6a..fcb38487d 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -375,9 +375,9 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu      onPointerMove = (e: PointerEvent): void => {          if (!e.cancelBubble && this.active) {              if (!this.props.Document.excludeFromLibrary && (Math.abs(this._downX - e.clientX) > 3 || Math.abs(this._downY - e.clientY) > 3)) { -                document.removeEventListener("pointermove", this.onPointerMove); -                document.removeEventListener("pointerup", this.onPointerUp);                  if (!e.altKey && !this.topMost && e.buttons === 1 && !BoolCast(this.props.Document.lockedPosition)) { +                    document.removeEventListener("pointermove", this.onPointerMove); +                    document.removeEventListener("pointerup", this.onPointerUp);                      this.startDragging(this._downX, this._downY, e.ctrlKey || e.altKey ? "alias" : undefined, this._hitExpander);                  }              } | 
