diff options
author | bobzel <zzzman@gmail.com> | 2022-06-10 10:53:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-10 10:53:57 -0400 |
commit | 9c5d0fc25b14619bedf96a9988be4f8c254812c4 (patch) | |
tree | 4babd722fe15bd1cbc80a276897b55161c635358 /src/client/util/DragManager.ts | |
parent | 7d38e4a98a0382cdd032d63d375707f19362873d (diff) | |
parent | 78b3b4f194b94a230ff0b07e397b595700d6529f (diff) |
Merge branch 'master' into master-cleanup
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 9f8c49081..dbfba8992 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -455,7 +455,7 @@ export namespace DragManager { if (dragData instanceof DocumentDragData) { dragData.userDropAction = e.ctrlKey && e.altKey ? "copy" : e.ctrlKey ? "alias" : dragData.defaultDropAction; } - if (((e.target as any)?.className === "lm_tabs" || e?.shiftKey) && dragData.draggedDocuments.length === 1) { + if (((e.target as any)?.className === "lm_tabs" || (e.target as any)?.className === "lm_header" || e?.shiftKey) && dragData.draggedDocuments.length === 1) { if (!startWindowDragTimer) { startWindowDragTimer = setTimeout(async () => { startWindowDragTimer = undefined; |