aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorMonika Hedman <monika_hedman@brown.edu>2019-02-13 20:58:15 -0500
committerMonika Hedman <monika_hedman@brown.edu>2019-02-13 20:58:15 -0500
commit1c5543e22d8b6ba9db1f10664a1c19e729da1e15 (patch)
tree13eb43919730bf4177932ccb0851e86dc07ace19 /src/client/views/collections/CollectionFreeFormView.tsx
parent1e8240e9ca1c2e2ff0e02ffb8b43be8dcbba9d14 (diff)
parent61ff7c05bdddf3228454abcd015b0a4383b75b61 (diff)
transforms
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index d60b98edd..b81975d3d 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -212,7 +212,7 @@ export class CollectionFreeFormView extends CollectionViewBase {
getTransform = (): Transform => {
const [x, y] = this.translate;
- return this.props.GetTransform().translate(-COLLECTION_BORDER_WIDTH, -COLLECTION_BORDER_WIDTH).transform(this.getLocalTransform().inverse())
+ return this.getLocalTransform().inverse().translate(-COLLECTION_BORDER_WIDTH, -COLLECTION_BORDER_WIDTH).transform(this.props.GetTransform())
}
getLocalTransform = (): Transform => {