aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-06-10 14:07:36 -0400
committeryipstanley <stanley_yip@brown.edu>2019-06-10 14:07:36 -0400
commit2ecd0c3486ec37d1061468cda12aa64e38d0d3d5 (patch)
tree0d54e533df467a163ef74d388b59e0f86abe0401 /src/client/views/collections/CollectionSubView.tsx
parentbcd6960fe91008bf31d364c48b5c8765eec28701 (diff)
annotation improvements
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index 1ced6a426..d25d07c3d 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -110,6 +110,8 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) {
else if (de.data instanceof DragManager.AnnotationDragData) {
console.log("dropped!");
console.log(de.data);
+ // de.data.dropDocument.x = de.x;
+ // de.data.dropDocument.y = de.y;
return this.props.addDocument(de.data.dropDocument);
}
return false;