aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-20 14:34:12 -0400
committerbobzel <zzzman@gmail.com>2020-08-20 14:34:12 -0400
commitcbacfc1e67b64dc4ce19b047f89a97f3dac0ce6b (patch)
treeed1fb499fb1131635eebc24ce4195d526812d2b1 /src/client/views/collections
parenta8e9d8baf117868e9498b56e2c3abc9ab17a32f3 (diff)
parent5ef3255233f14ac2b295c2b44357fae07a29e598 (diff)
Merge branch 'ink_edits'
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index e5af1b0cc..0918e8389 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -720,14 +720,12 @@ export class MarqueeView extends React.Component<SubCollectionViewProps & Marque
</div>;
} else {
- //subtracted for offset
var str: string = "";
for (var i = 0; i < this._pointsX.length; i++) {
- var x = 0;
- x = this._pointsX[i] - 64;
- str += x.toString();
+ const pt = this.props.getContainerTransform().transformPoint(this._pointsX[i], this._pointsY[i]);
+ str += pt[0].toString();
str += ",";
- str += (this._pointsY[i] - 85).toString();
+ str += pt[1].toString();
str += (" ");
}