diff options
author | bobzel <zzzman@gmail.com> | 2019-02-13 20:30:59 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2019-02-13 20:30:59 -0500 |
commit | 61ff7c05bdddf3228454abcd015b0a4383b75b61 (patch) | |
tree | 955882e22afd0b1b2abe71f4a23b0eb7fe839196 | |
parent | 374f14fc351a23d16a168e4a1809234deba91bdf (diff) |
fixed doc decoration location
-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 54bc7327b..f10d8680f 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -94,7 +94,7 @@ export class CollectionFreeFormDocumentView extends React.Component<DocumentView getTransform = (): Transform => { - return this.props.GetTransform().translated(this.x, this.y); + return new Transform(-this.x, -this.y, 1).transform(this.props.GetTransform()); } render() { |