aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-04 18:26:33 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-04 18:26:33 -0400
commit93bed89512baa506c1b5ed2223ffc83fa6b5390e (patch)
tree4ca4605480175aa946f606d63e16946f40066cfe /src/client/views/nodes/CollectionFreeFormDocumentView.tsx
parentdc2a998acdae1545c8e7bf9ee9f4ca98bba82ac9 (diff)
Changed linter stuff
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r--src/client/views/nodes/CollectionFreeFormDocumentView.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
index e6475ee2a..ce453b4af 100644
--- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -52,12 +52,12 @@ export class CollectionFreeFormDocumentView extends React.Component<DocumentView
this.props.Document.SetData(KeyStore.ZIndex, h, NumberField)
}
- contentScaling = () =>
- this.nativeWidth > 0 ? this.width / this.nativeWidth : 1
+ contentScaling = () => this.nativeWidth > 0 ? this.width / this.nativeWidth : 1
getTransform = (): Transform =>
- this.props.ScreenToLocalTransform().
- translate(-this.props.Document.GetNumber(KeyStore.X, 0), -this.props.Document.GetNumber(KeyStore.Y, 0)).scale(1 / this.contentScaling())
+ this.props.ScreenToLocalTransform()
+ .translate(-this.props.Document.GetNumber(KeyStore.X, 0), -this.props.Document.GetNumber(KeyStore.Y, 0))
+ .scale(1 / this.contentScaling())
@computed
get docView() {