diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-03 17:37:47 -0700 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-03 17:37:47 -0700 |
commit | f82c74fe04e52bd02f24ab445a5c24ce2ed1392d (patch) | |
tree | 49f2456ae19d48b2f42eb1207134680f1085a51e /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 3949f6a094f835e495562ab5484b23ade3d1003f (diff) | |
parent | c8361cd6072ff257c41fceab9f5fd36aa9d49403 (diff) |
Merge branch 'search_doc' of https://github.com/browngraphicslab/Dash-Web into search_doc
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index eaab4086c..356192797 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -89,14 +89,15 @@ export class CollectionFreeFormDocumentView extends DocComponent<CollectionFreeF pointerEvents: this.props.Document.isBackground ? "none" : undefined }} > - {!this.props.fitToBox ? <DocumentView {...this.props} + {!this.props.fitToBox ? + <DocumentView {...this.props} dragDivName={"collectionFreeFormDocumentView-container"} ContentScaling={this.contentScaling} ScreenToLocalTransform={this.getTransform} backgroundColor={this.props.backgroundColor} PanelWidth={this.panelWidth} - PanelHeight={this.panelHeight} - /> : <ContentFittingDocumentView {...this.props} + PanelHeight={this.panelHeight} /> + : <ContentFittingDocumentView {...this.props} CollectionDoc={this.props.ContainingCollectionDoc} DataDocument={this.props.DataDoc} getTransform={this.getTransform} |