aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-26 23:03:13 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-26 23:03:13 -0400
commit1269a2b2e97ffaeaec815b5bfce46002307d0ffc (patch)
tree85357a7227cac8b79f2bafacd9d44817a6409369 /src
parentb2d9133f2fdb6dd2af3b74c4dd9de49145611b1b (diff)
fixed dragging doc to a tab if shift prssed first
Diffstat (limited to 'src')
-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 3d6e0c4d8..03d9a4322 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -159,7 +159,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
if (CollectionFreeFormView.RIGHT_BTN_DRAG && (e.button === 2 || (e.button === 0 && e.altKey)) && !this.isSelected()) {
return;
}
- if (e.shiftKey && e.buttons === 2) {
+ if (e.shiftKey && e.buttons === 1) {
if (this.props.isTopMost) {
this.startDragging(e.pageX, e.pageY, e.altKey || e.ctrlKey);
} else {