diff options
author | bob <bcz@cs.brown.edu> | 2019-04-04 14:13:29 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-04 14:13:29 -0400 |
commit | b78aff5115862cbfa5e704422cb738aa7fd73c64 (patch) | |
tree | b6610e3f6b39ad3d1477e4c6503981b4a66ddf94 /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 52dade42e61a1d147bf43ece7f2b1d7b3d7b6b6a (diff) |
fixed a number of smaller issues related to linking
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index d52b662bd..1a0f0cbbd 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -66,8 +66,12 @@ export class CollectionFreeFormDocumentView extends React.Component<DocumentView return <DocumentView {...this.props} ContentScaling={this.contentScaling} ScreenToLocalTransform={this.getTransform} + PanelWidth={this.panelWidth} + PanelHeight={this.panelHeight} /> } + panelWidth = () => this.props.Document.GetBoolean(KeyStore.Minimized, false) ? 10 : this.props.PanelWidth(); + panelHeight = () => this.props.Document.GetBoolean(KeyStore.Minimized, false) ? 10 : this.props.PanelHeight(); render() { return ( |