aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-02-13 22:18:11 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-02-13 22:18:11 -0500
commit48f0762ece591726b759ba08e23d37a5480520a7 (patch)
tree059c31c9826236fb3e7bd51ba549a90b2d6574de /src
parent61ff7c05bdddf3228454abcd015b0a4383b75b61 (diff)
fixed one of the issues with drop()
Diffstat (limited to 'src')
-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 93efcc1be..7ceb8b085 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -54,7 +54,7 @@ export class CollectionFreeFormView extends CollectionViewBase {
}
const xOffset = de.data["xOffset"] as number || 0;
const yOffset = de.data["yOffset"] as number || 0;
- const transform = doc.props.GetTransform();
+ const transform = me.props.GetTransform();
const screenX = de.x - xOffset;
const screenY = de.y - yOffset;
const [x, y] = transform.transformPoint(screenX, screenY);