diff options
author | bobzel <zzzman@gmail.com> | 2023-12-29 10:50:42 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-29 10:50:42 -0500 |
commit | 1a3aa8a4e79deb501fce0c89ace8ea960003d8cd (patch) | |
tree | 92efd03eb41a1123bc54519e0e644cafb903e9ff /src/client/util/DragManager.ts | |
parent | bc8d4b46cdc836cbd59527ebfd1d891949d6e5ff (diff) |
fixed sidebar button highoighting. fixed explore mode.
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 c711db31a..fe3a52be7 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -333,7 +333,7 @@ export namespace DragManager { export let CanEmbed = false; export let DocDragData: DocumentDragData | undefined; export function StartDrag(eles: HTMLElement[], dragData: { [id: string]: any }, downX: number, downY: number, options?: DragOptions, finishDrag?: (dropData: DragCompleteEvent) => void, dragUndoName?: string) { - if (dragData.dropAction === 'none' || DocumentView.ExploreMode) return; + if (dragData.dropAction === 'none' || SnappingManager.ExploreMode) return; DocDragData = dragData as DocumentDragData; const batch = UndoManager.StartBatch(dragUndoName ?? 'document drag'); eles = eles.filter(e => e); |