diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-11 20:46:22 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-11 20:46:22 -0400 |
commit | eb1c48dc6ff1403372f820d07b46c08f58cc7306 (patch) | |
tree | 2e8d19a0ad5a391d4c231a823033c0b3fdf5f9e1 /src/client/util/DragManager.ts | |
parent | 151566e396249991e24d49b3db5c246431e62262 (diff) |
added modifier options for macbook
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 4a61220a5..9bd7d5c24 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -158,7 +158,7 @@ export namespace DragManager { e.preventDefault(); x += e.movementX; y += e.movementY; - if (e.shiftKey) { + if (e.shiftKey && (e.button == 2 || e.altKey)) { abortDrag(); CollectionDockingView.Instance.StartOtherDrag(doc, { pageX: e.pageX, pageY: e.pageY, preventDefault: () => { }, button: 0 }); } |