diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-02 17:24:19 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-02 17:24:19 -0400 |
commit | bb351bcf0a56be9708c6c833c8023300e26223c1 (patch) | |
tree | 86be6bc9cf307769198057b3b97153d80b923197 /src/client/util/DragManager.ts | |
parent | 6596e9aa8a23abe6f126e9cada5e3e8b8545884f (diff) |
added copy with alt+ctrl . fixed border radius
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 db7a54ca8..1f2312032 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -351,7 +351,7 @@ export namespace DragManager { const moveHandler = (e: PointerEvent) => { e.preventDefault(); // required or dragging text menu link item ends up dragging the link button as native drag/drop if (dragData instanceof DocumentDragData) { - dragData.userDropAction = e.ctrlKey ? "alias" : undefined; + dragData.userDropAction = e.ctrlKey && e.altKey ? "copy" : e.ctrlKey ? "alias" : undefined; } if (e.shiftKey && CollectionDockingView.Instance && dragData.droppedDocuments.length === 1) { AbortDrag(); |