diff options
author | Sam Wilkins <35748010+samwilkins333@users.noreply.github.com> | 2019-07-27 16:49:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 16:49:07 -0400 |
commit | 6c94ca5149c5d1c4b4bd90b1326560565df8117f (patch) | |
tree | 060976e1ed80f97f90ad83a4b1821b79046b786d /src/client/util/DragManager.ts | |
parent | 7f8281ca3b6fdbda7dae624bcad307d3ccdcac7b (diff) | |
parent | a75494ad339b656242dab033f86cbeb13dc882b8 (diff) |
Merge pull request #217 from browngraphicslab/context_menu
Context menu UI overhaul and added undo to linking via dragging and a few smaller functions
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 5271f2f5d..95416cd53 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -8,6 +8,7 @@ import * as globalCssVariables from "../views/globalCssVariables.scss"; import { DocumentManager } from "./DocumentManager"; import { LinkManager } from "./LinkManager"; import { SelectionManager } from "./SelectionManager"; +import { DocumentDecorations } from "../views/DocumentDecorations"; export type dropActionType = "alias" | "copy" | undefined; export function SetupDrag( @@ -421,6 +422,7 @@ export namespace DragManager { if (options) { options.handlers.dragComplete({}); } + DocumentDecorations.Instance.endLinkDragBatch(); }; AbortDrag = () => { |