diff options
author | bobzel <zzzman@gmail.com> | 2022-06-10 10:18:05 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-10 10:18:05 -0400 |
commit | bc662b4e7eaaa1f33f41f64ce64d60579939b971 (patch) | |
tree | 6910cb3e35dd079f6480352c1057662f63aeb507 /src/client/util/DragManager.ts | |
parent | 2eab3c6035c6444eae083cdeb35fb58a1234f581 (diff) |
fixed some problems with dragging doc onto empty tab bar. made topBar be just one line to save vertical space. added a context menu to Dashboard
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..c3c6c22df 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; |