diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 11:21:20 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 11:21:20 -0400 |
| commit | bde549beec0b9644ff0e39585989b1a6795750eb (patch) | |
| tree | f979165fe3029c3228e75fc91d59c15181f0ef48 /src/client/views/collections/CollectionVideoView.tsx | |
| parent | a7fa75a9b8e5811f81d6cdf92d680ab2cfb38fed (diff) | |
| parent | 490f6843d3523260e6dce81de24676908c4d4b60 (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/CollectionVideoView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionVideoView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionVideoView.tsx b/src/client/views/collections/CollectionVideoView.tsx index 16287a658..2b6c272aa 100644 --- a/src/client/views/collections/CollectionVideoView.tsx +++ b/src/client/views/collections/CollectionVideoView.tsx @@ -98,7 +98,7 @@ export class CollectionVideoView extends React.Component<FieldViewProps> { SearchBox.convertDataUri(dataUrl, filename).then((returnedFilename) => { if (returnedFilename) { let url = DocServer.prepend(returnedFilename); - let imageSummary = Docs.ImageDocument(url, { + let imageSummary = Docs.Create.ImageDocument(url, { x: NumCast(this.props.Document.x) + width, y: NumCast(this.props.Document.y), width: 150, height: height / width * 150, title: "--snapshot" + NumCast(this.props.Document.curPage) + " image-" }); |
