diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-18 16:32:59 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-18 16:32:59 -0400 |
| commit | 20e34ca5a76eb90b7be5b0ac27daf088013712b6 (patch) | |
| tree | 80536b5c282d8a6f83bf1dca2ad07a037c325178 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | cd384196332ffe9fde83cb5104dd489c1a71b82c (diff) | |
left buttons
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index c50597655..17ae20a03 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -112,7 +112,7 @@ export class CollectionFreeFormView extends CollectionSubView { var dv = DocumentManager.Instance.getDocumentView(doc); return childSelected || (dv && SelectionManager.IsSelected(dv) ? true : false); }, false); - if (((e.button === 2 && (!this.isAnnotationOverlay || this.zoomScaling() !== 1)) || (e.button === 0 && e.altKey)) && (childSelected || this.props.active())) { + if (((e.button === 0 && (!this.isAnnotationOverlay || this.zoomScaling() !== 1)) || (e.button === 0 && e.altKey)) && (childSelected || this.props.active())) { document.removeEventListener("pointermove", this.onPointerMove); document.addEventListener("pointermove", this.onPointerMove); document.removeEventListener("pointerup", this.onPointerUp); |
