diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-10 14:28:25 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-10 14:28:25 -0400 |
| commit | e0b3c759880639bf56f9b8b39ea2e38c5cbad8a6 (patch) | |
| tree | 5f88f565db34f65897e3cef1ba6d7388bdffa447 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 9ea0f409cfc2a6c11bb1cf6e00015eb97900507b (diff) | |
fixed extra rendering for collections.
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index ea6d3a247..212cf8a69 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -50,7 +50,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp public StartOtherDrag(dragDocs: Document[], e: any) { dragDocs.map(dragDoc => this.AddRightSplit(dragDoc, true).contentItems[0].tab._dragListener. - onMouseDown({ pageX: e.pageX, pageY: e.pageY, preventDefault: () => { }, button: 0 })); + onMouseDown({ pageX: e.pageX, pageY: e.pageY, preventDefault: emptyFunction, button: 0 })); } @action @@ -204,7 +204,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp DragManager.StartDocumentDrag([tab], new DragManager.DocumentDragData([f]), e.pageX, e.pageY, { handlers: { - dragComplete: action(() => { }), + dragComplete: action(emptyFunction), }, hideSource: false }); |
