aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorlaurawilsonri <laura_wilson@brown.edu>2019-02-24 17:40:47 -0500
committerlaurawilsonri <laura_wilson@brown.edu>2019-02-24 17:40:47 -0500
commit03b35e3d6346800821bb830a7c102dede74647fe (patch)
tree47c8587c828f9f59e79b127d070728fc2a9f418a /src/client/views/collections/CollectionFreeFormView.tsx
parentf7b46167a7fd5d7ecf560dbd72e7d3295ba6c0c9 (diff)
Got it compiling
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 348a11992..d97710ffe 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -165,7 +165,6 @@ export class CollectionFreeFormView extends CollectionViewBase {
if (!e.ctrlKey && !e.altKey && !e.shiftKey) {
if (this._previewCursorVisible) {
//make textbox and add it to this collection
- //let { LocalX, LocalY } = this.props.TransformToLocalPoint(this._downX, this._downY);
let tr = this.props.ScreenToLocalTransform().translate(this._downX, this._downY);
let LocalX = tr.TranslateX;
let LocalY = tr.TranslateY;