diff options
author | bob <bcz@cs.brown.edu> | 2019-04-12 11:02:30 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-12 11:02:30 -0400 |
commit | 343aeabf2cc3cab641944de16a95e5eb459a8e5f (patch) | |
tree | dc734f82f7332df6fdb77a991f2e26b328e292ed /src/client/views/DocumentDecorations.tsx | |
parent | fd8e6bf2cacf8bed7c3363eeb777c731741266d5 (diff) |
added link count to tabs. changed tabs to drag document with no mods, and drag tab with shift
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 29cca286d..69623b8f0 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -216,7 +216,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> if (this._linkerButton.current !== null) { document.removeEventListener("pointermove", this.onLinkerButtonMoved); document.removeEventListener("pointerup", this.onLinkerButtonUp); - let dragData = new DragManager.LinkDragData(SelectionManager.SelectedDocuments()[0]); + let dragData = new DragManager.LinkDragData(SelectionManager.SelectedDocuments()[0].props.Document); DragManager.StartLinkDrag(this._linkerButton.current, dragData, e.pageX, e.pageY, { handlers: { dragComplete: action(emptyFunction), |