aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-03-11 20:09:54 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-03-11 20:09:54 -0400
commit50fab5856a3aaeb1285c168b66e38ce4bc4312c2 (patch)
tree1f03cd15ef226994e7edae8955ddd87abb92db7b
parent7f13e25550761bd174b26a64ed73374c2d5da964 (diff)
added pan modifier keys for macbook
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 2dba62ee0..97e7aefa2 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -165,7 +165,7 @@ export class CollectionFreeFormView extends CollectionViewBase {
e.stopPropagation();
e.preventDefault();
let wasMarquee = this._marquee;
- this._marquee = e.buttons != 2;
+ this._marquee = e.buttons != 2 && !e.altKey && !e.metaKey;
if (this._marquee && !wasMarquee) {
this._previewCursorVisible = false;
document.addEventListener("keydown", this.marqueeCommand);