diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-05 12:00:18 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-05 12:00:18 -0400 |
| commit | 179b2c7c68e3d240f3f39083bdb686ad31761c04 (patch) | |
| tree | 03da1a5f16585cf78d3909a163325a35e06db2e7 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | a936f08e3c18ad34bbe74133eaa768c7bda832dc (diff) | |
fixed some template issues. added attribution for pasted text
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) { |
