diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-05 13:03:21 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-05 13:03:21 -0400 |
| commit | f873d620e9a3804d5a6783d7ea335b27d59b4612 (patch) | |
| tree | 18c26ea4afa664d1f43111c0441075f0aa3733a9 /src/client/views/collections | |
| parent | 8667cfd95ffb5a78392a8bfb78e4600c5da2acaa (diff) | |
fixed dragging misalignment
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 39e0dd989..921ee4591 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -200,7 +200,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp let tab = (e.target as any).parentElement as HTMLElement; Server.GetField(docid, action((f: Opt<Field>) => { if (f instanceof Document) - DragManager.StartDocumentDrag([tab], new DragManager.DocumentDragData([f as Document]), + DragManager.StartDocumentDrag([tab], new DragManager.DocumentDragData([f as Document]), e.pageX, e.pageY, { handlers: { dragComplete: action(() => { }), |
