aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authormadelinegr <laura_wilson@brown.edu>2019-02-26 17:01:50 -0500
committermadelinegr <laura_wilson@brown.edu>2019-02-26 17:01:50 -0500
commitd1e6373423d6e66ac993e6399ef0821b9f69a268 (patch)
treeca03443fd1337490941bef5da699c8a0d8b707c4 /src/client/views/nodes/DocumentView.tsx
parent95dfe5a650d4d4f5fde890cabaeae949cb3aaf9d (diff)
parentbd54526065428de2e931d7254776352199f6e55a (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into treeview
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 c579b7142..feecde921 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -96,7 +96,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;