diff options
author | bob <bcz@cs.brown.edu> | 2019-12-05 11:29:51 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-12-05 11:29:51 -0500 |
commit | fa89fbf06f3d27ff0ca3f62fa6e6ab4fe378edf1 (patch) | |
tree | 8bac858ff49eb8ab04f29b9c0e693e09266733bd /src/client/views/nodes/ContentFittingDocumentView.tsx | |
parent | 9a6b4eaef6b16a5a995cb939c33fdd8213d7724c (diff) |
oops. fixed mobx problem with library path.
Diffstat (limited to 'src/client/views/nodes/ContentFittingDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/ContentFittingDocumentView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/ContentFittingDocumentView.tsx b/src/client/views/nodes/ContentFittingDocumentView.tsx index 86fab0ba0..660a5bb7e 100644 --- a/src/client/views/nodes/ContentFittingDocumentView.tsx +++ b/src/client/views/nodes/ContentFittingDocumentView.tsx @@ -13,6 +13,7 @@ import '../DocumentDecorations.scss'; import { DocumentView } from "../nodes/DocumentView"; import "./ContentFittingDocumentView.scss"; import { CollectionView } from "../collections/CollectionView"; +import { TraceMobx } from "../../../new_fields/util"; interface ContentFittingDocumentViewProps { Document?: Doc; @@ -76,6 +77,7 @@ export class ContentFittingDocumentView extends React.Component<ContentFittingDo @computed get borderRounding() { return StrCast(this.props.Document!.borderRounding); } render() { + TraceMobx(); return (<div className="contentFittingDocumentView" style={{ width: this.props.PanelWidth(), height: this.props.PanelHeight() }}> {!this.props.Document || !this.props.PanelWidth ? (null) : ( <div className="contentFittingDocumentView-previewDoc" |