aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-29 00:53:11 -0400
committerbobzel <zzzman@gmail.com>2020-08-29 00:53:11 -0400
commit7b8924d203c6367edbf7e6ffbe2e8f2e6f24b859 (patch)
tree7870fa5d896c9026ad7042afc283820a0d89ff6e /src/client/util/DragManager.ts
parent2d37a7f6402aca311499fb1d61b05cca2487475f (diff)
added some link follow options to link Editor. Big overhaul of dockingView to make things undoable and cleaner
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 0cca61841..8bf6faf03 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -117,10 +117,11 @@ export namespace DragManager {
}
export class DocumentDragData {
- constructor(dragDoc: Doc[]) {
+ constructor(dragDoc: Doc[], dropAction?: dropActionType) {
this.draggedDocuments = dragDoc;
this.droppedDocuments = [];
this.offset = [0, 0];
+ this.dropAction = dropAction;
}
draggedDocuments: Doc[];
droppedDocuments: Doc[];