aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-06-12 14:35:24 -0400
committeryipstanley <stanley_yip@brown.edu>2019-06-12 14:35:24 -0400
commit9ec4a529dc886acca8f147cfe913e60f938f3bda (patch)
tree9d5548a585b0a9cccfc9e4c7ce2451b802199886 /src/client/util/DragManager.ts
parentb96281d18a9c4ca0ea7f8360d7f69d12c325fada (diff)
reverse annotating
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index e92ed9b4a..2ffb77e44 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -154,14 +154,14 @@ export namespace DragManager {
}
export class AnnotationDragData {
- constructor(dragDoc: Doc, annotationDocs: Doc[], dropDoc: Doc) {
+ constructor(dragDoc: Doc, annotationDoc: Doc, dropDoc: Doc) {
this.dragDocument = dragDoc;
this.dropDocument = dropDoc;
- this.annotationDocuments = annotationDocs;
+ this.annotationDocument = annotationDoc;
this.xOffset = this.yOffset = 0;
}
dragDocument: Doc;
- annotationDocuments: Doc[];
+ annotationDocument: Doc;
dropDocument: Doc;
xOffset: number;
yOffset: number;