diff options
| author | Monika Hedman <monika_hedman@brown.edu> | 2019-02-13 20:58:15 -0500 |
|---|---|---|
| committer | Monika Hedman <monika_hedman@brown.edu> | 2019-02-13 20:58:15 -0500 |
| commit | 1c5543e22d8b6ba9db1f10664a1c19e729da1e15 (patch) | |
| tree | 13eb43919730bf4177932ccb0851e86dc07ace19 /src/client/views/collections/CollectionFreeFormView.tsx | |
| parent | 1e8240e9ca1c2e2ff0e02ffb8b43be8dcbba9d14 (diff) | |
| parent | 61ff7c05bdddf3228454abcd015b0a4383b75b61 (diff) | |
transforms
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionFreeFormView.tsx | 2 |
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 => { |
