aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-03-16 23:01:31 -0400
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-03-16 23:01:31 -0400
commit4f9cfaccc8e0f3d16cf4373e01e6b85c99adabfd (patch)
tree93a5678900c4f010ec465fa0878c6374f07c0abc /src/client/util/DragManager.ts
parent433909d26b555fa8fb837dbf06e1620b3b483377 (diff)
parentec0510a3d80f065ab8aa1e5280e50d689628f008 (diff)
merging
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 0d154bc3a..dc95193ea 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -157,8 +157,8 @@ export namespace DragManager {
// used by PDFs,Text,Image,Video,Web to conditionally (if the drop completes) create a text annotation when dragging the annotate button from the AnchorMenu when a text/region selection has been made.
// this is pretty clunky and should be rethought out using linkDrag or DocumentDrag
export class AnchorAnnoDragData extends LinkDragData {
- constructor(dragDoc: Doc, linkSourceGetAnchor: () => Doc, dropDocCreator: (annotationOn: Doc | undefined) => Doc) {
- super(dragDoc, linkSourceGetAnchor);
+ constructor(dragView: DocumentView, linkSourceGetAnchor: () => Doc, dropDocCreator: (annotationOn: Doc | undefined) => Doc) {
+ super(dragView, linkSourceGetAnchor);
this.dropDocCreator = dropDocCreator;
this.offset = [0, 0];
}