diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-20 00:03:47 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-20 00:03:47 -0400 |
commit | c6bcea414a7ab89a5aab11fc6b44886066f38f0d (patch) | |
tree | 4abf1c301b6ce7c39912e51ef3d979cd2260aeea /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 425ea0bacbb40312c5f722f27bf0ca93fe0b17b3 (diff) |
fixed some layout bugs
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index 1d42b3899..01a9f26bf 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -56,7 +56,7 @@ export class CollectionFreeFormDocumentView extends React.Component<CollectionFr .translate(-this.X, -this.Y) .scale(1 / this.contentScaling()).scale(1 / this.zoom) - contentScaling = () => this.nativeWidth > 0 ? this.width / this.nativeWidth : 1; + contentScaling = () => (this.nativeWidth > 0 ? this.width / this.nativeWidth : 1); panelWidth = () => this.props.PanelWidth(); panelHeight = () => this.props.PanelHeight(); |