diff options
| author | bob <bcz@cs.brown.edu> | 2019-03-11 15:27:20 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-03-11 15:27:20 -0400 |
| commit | 6e66622439eff11e69c8fa71c477ce0f8f5cc104 (patch) | |
| tree | 7243a0e2adc606993745c06a2eabbe7f4f6d1a24 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | e0d33c6092e5fb62343ef38d8734fa342e6dff84 (diff) | |
cleaned up drag/drop interactions to be more consistent and complete.
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -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 70549099e..6a0404663 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -44,7 +44,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp (window as any).ReactDOM = ReactDOM; } public StartOtherDrag(dragDoc: Document, e: any) { - this.AddRightSplit(dragDoc, true).contentItems[0].tab._dragListener.onMouseDown({ pageX: e.pageX, pageY: e.pageY, preventDefault: () => { }, button: e.button }) + this.AddRightSplit(dragDoc, true).contentItems[0].tab._dragListener.onMouseDown({ pageX: e.pageX, pageY: e.pageY, preventDefault: () => { }, button: 0 }) } @action |
