diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-14 02:01:57 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-14 02:01:57 -0500 |
| commit | 37d9d2cad93a08518cec6c95c8bc941dd5f5ddaa (patch) | |
| tree | 25b4fee39aeb543333b87b2d03f7fb4645bad1c2 /src/client/views/collections/TabDocView.tsx | |
| parent | 257b259717486b984b90b75a8561b7b5c76a6964 (diff) | |
more changes to ContentScaling to get web/video/image boxes to work with annotation/DocDecorations in contentfitting and freeform views.
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 65b793adb..1f00b3a02 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -374,7 +374,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { @computed get docView() { TraceMobx(); return !this._activated || !this._document || this._document._viewType === CollectionViewType.Docking ? (null) : - <><ContentFittingDocumentView key={this._document[Id]} ref={action((r: ContentFittingDocumentView) => console.log(this._view = r))} + <><ContentFittingDocumentView key={this._document[Id]} ref={action((r: ContentFittingDocumentView) => this._view = r)} renderDepth={0} Document={this._document} DataDoc={!Doc.AreProtosEqual(this._document[DataSym], this._document) ? this._document[DataSym] : undefined} |
