diff options
author | bobzel <zzzman@gmail.com> | 2024-09-16 15:48:08 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-16 15:48:08 -0400 |
commit | cded2f6473018f15711142517ba30382682cbec0 (patch) | |
tree | 57e7e19643fd1d4ff5f947dbd850579a753c6828 /src/client/util/DragManager.ts | |
parent | bb1f4c62071987cc59461a8ce53522fa7a9036cc (diff) |
fixed title dragging pick correlation and conversion to tab dragging.
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 7db13689d..d55d193cc 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -569,7 +569,7 @@ export namespace DragManager { AbortDrag(); await finishDrag?.(new DragCompleteEvent(true, docDragData)); DragManager.StartWindowDrag?.(e, docDragData.droppedDocuments, aborted => { - if (!aborted && (docDragData?.dropAction === 'move' || docDragData?.dropAction === 'same')) { + if (!aborted && (docDragData?.dropAction === dropActionType.move || docDragData?.dropAction === dropActionType.same)) { docDragData.removeDocument?.(docDragData?.draggedDocuments[0]); } }); |