aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authormadelinegr <mgriswold99@gmail.com>2019-02-26 17:04:17 -0500
committermadelinegr <mgriswold99@gmail.com>2019-02-26 17:04:17 -0500
commit36e5de8777ef8bddb66b758e08d1fc0913c59e00 (patch)
tree718ef63d1fe33d76f0d66245f5e8aed83cb33e64 /src/client/views/nodes/DocumentView.tsx
parent675d619bcac9b73893406ac029a4fd6c1cc290c6 (diff)
parentbd54526065428de2e931d7254776352199f6e55a (diff)
mer con
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 4422909de..2158ff4f3 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -97,7 +97,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
this._downX = e.clientX;
this._downY = e.clientY;
if (e.shiftKey && e.buttons === 1) {
- CollectionDockingView.Instance.StartOtherDrag(this._mainCont.current!, this.props.Document);
+ CollectionDockingView.Instance.StartOtherDrag(this.props.Document, e);
e.stopPropagation();
} else {
this._contextMenuCanOpen = true;