aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionViewBase.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-13 15:17:53 -0400
committerbob <bcz@cs.brown.edu>2019-03-13 15:17:53 -0400
commit4f1f20a52a5c01b3046a56f37b6c7c029d3e10f0 (patch)
treeec2daabe1563dd12ed1f84e38b6a64c928dba015 /src/client/views/collections/CollectionViewBase.tsx
parentae8bc0f99f35f6c72aaa9be3f5617d54ba64299b (diff)
fixed a variety of things related to selection, dragging, marqueeing
Diffstat (limited to 'src/client/views/collections/CollectionViewBase.tsx')
-rw-r--r--src/client/views/collections/CollectionViewBase.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionViewBase.tsx b/src/client/views/collections/CollectionViewBase.tsx
index b581d3060..eda62a4ca 100644
--- a/src/client/views/collections/CollectionViewBase.tsx
+++ b/src/client/views/collections/CollectionViewBase.tsx
@@ -52,12 +52,11 @@ export class CollectionViewBase extends React.Component<SubCollectionViewProps>
docView.props.RemoveDocument(docView.props.Document);
}
this.props.addDocument(docView.props.Document);
- e.stopPropagation();
} else if (doc) {
this.props.removeDocument(doc);
this.props.addDocument(doc);
- e.stopPropagation();
}
+ e.stopPropagation();
}
@action
@@ -109,7 +108,7 @@ export class CollectionViewBase extends React.Component<SubCollectionViewProps>
var doc: any;
if (type.indexOf("image") !== -1) {
- doc = Documents.ImageDocument(path, { ...options, nativeWidth: 300, width: 300, })
+ doc = Documents.ImageDocument(path, { ...options, nativeWidth: 200, width: 200, })
}
if (type.indexOf("video") !== -1) {
doc = Documents.VideoDocument(path, { ...options, nativeWidth: 300, width: 300, })