aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-23 01:16:41 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-23 01:16:41 -0400
commitd3ef96c725761ec172271c314fbe95a962a2b396 (patch)
treeaf6e98974e4dbd4bab67a225cd00709f3a02e032 /src/client/views/nodes
parent68add612a037349541b65bc1d1a671199dbfa50b (diff)
parent448a62581fbbad3af8073a195ca45aba2270d239 (diff)
Merge branch 'master' into leftbuttondominant
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 417ff0e9d..2f8ac9f20 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -99,7 +99,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
onPointerDown = (e: React.PointerEvent): void => {
this._downX = e.clientX;
this._downY = e.clientY;
- if (CollectionFreeFormView.RIGHT_BTN_DRAG && (e.button === 2 || (e.altKey && e.button === 0)) && !this.isSelected()) {
+ if (CollectionFreeFormView.RIGHT_BTN_DRAG && (e.button === 2 || (e.button === 0 && e.altKey)) && !this.isSelected()) {
return;
}
if (e.shiftKey && e.buttons === 2) {