aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-06-20 18:12:40 -0400
committermehekj <mehek.jethani@gmail.com>2022-06-20 18:12:40 -0400
commit145117365b2708ef6b365c6f0f10c38b85a87307 (patch)
tree266b75feb19c3ded22f8185e8ed11eb91e6b6309 /src/client/util/DragManager.ts
parent7eedde332010c8896be636f0b5c6a7b2c8043e48 (diff)
parent3351c0372a8372a3e91bbd814f827a8b984f8665 (diff)
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts2
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;