diff options
author | bob <bcz@cs.brown.edu> | 2019-02-26 16:56:04 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-26 16:56:04 -0500 |
commit | bd54526065428de2e931d7254776352199f6e55a (patch) | |
tree | a5a8e8ac960ddbb97a4cc48aeba9159ba764ca9b /src/client/views/nodes/DocumentView.tsx | |
parent | 3ff149e05a76fa0a0ace32a1b0c9876c4850aa2a (diff) |
fixed shift-dragging!!
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
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; |