aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-22 12:12:43 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-22 12:12:43 -0400
commitbc1271babcce90ef70aa437d7d630b0244a52bb2 (patch)
treed6c42801f0fe52655eece2a0dc353c3b6284d2a7 /src
parente878910abf712f53113994b4d6f242b5c2231453 (diff)
Thumbnail stuff
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index f898c10d2..d72046800 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -296,7 +296,7 @@ export class MarqueeView extends React.Component<MarqueeViewProps>
SearchBox.convertDataUri(dataUrl, "icon" + summary[Id] + "_image").then((returnedFilename) => {
if (returnedFilename) {
let url = DocServer.prepend(returnedFilename);
- let imageSummary = Docs.ImageDocument(url, { x: bounds.left + bounds.width, y: bounds.top, width: 300 });
+ let imageSummary = Docs.ImageDocument(url, { x: bounds.left, y: bounds.top + 100 / zoomBasis, width: 150, title: "-summary image-" });
summary.imageSummary = imageSummary;
this.props.addDocument(imageSummary, false);
}