diff options
| author | kimdahey <claire_kim1@brown.edu> | 2019-09-10 19:16:59 -0400 |
|---|---|---|
| committer | kimdahey <claire_kim1@brown.edu> | 2019-09-10 19:16:59 -0400 |
| commit | 66d510b95c7e70049df6208dbe91ff4600058b27 (patch) | |
| tree | 8cb061c2dc7b116c0ef4b8bf402c2928388260a3 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 9b2562906bf3b87f18854dcaab9ad12b19dc3fce (diff) | |
| parent | ec62b213439ab49134fa2dbbdf38a6d1ef5737cd (diff) | |
pulled from master
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 95f94875c..fb8b0c41b 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -607,7 +607,7 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { } return Transform.Identity(); } - get previewPanelCenteringOffset() { return this.nativeWidth && !BoolCast(this._document!.ignoreAspect) ? (this._panelWidth - this.nativeWidth()) / 2 : 0; } + get previewPanelCenteringOffset() { return this.nativeWidth() && !BoolCast(this._document!.ignoreAspect) ? (this._panelWidth - this.nativeWidth()) / 2 : 0; } addDocTab = (doc: Doc, dataDoc: Doc | undefined, location: string) => { if (doc.dockingConfig) { |
