aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-08 10:54:53 -0400
committerbob <bcz@cs.brown.edu>2019-07-08 10:54:53 -0400
commit400c525875af607dd76d7ec46949fedc418caabf (patch)
tree3cfa74f4290cab9b4699a66a2be24d30c8b9fea9 /src/client/views/collections/CollectionSubView.tsx
parent1f1ca5f25803d2ba8f1c5afc4c6552388f722816 (diff)
fixed annotation dragging on PDFs. fixed panning after zooming on images.
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index 79c23d71a..5287d3c13 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -102,6 +102,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) {
return added;
}
else if (de.data instanceof DragManager.AnnotationDragData) {
+ e.stopPropagation();
return this.props.addDocument(de.data.dropDocument);
}
return false;