aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-28 00:23:18 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-28 00:23:18 -0400
commita2751d16babb38cde2b86b1cb8fc5d74c15762d7 (patch)
tree57e60f57790c472c94a4e2d9e7d1b8664ff9dfce /src/client/views/collections/collectionFreeForm
parentc89806e27fe3c3d951e86262f065e6df4073a2b8 (diff)
Decent amount of stuff is working
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index dfacca204..dcded7648 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -257,7 +257,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) {
moveDocument: this.props.moveDocument,
ScreenToLocalTransform: this.getTransform,
isTopMost: false,
- selectOnLoad: document.Id === this._selectOnLoaded,
+ selectOnLoad: document[Id] === this._selectOnLoaded,
PanelWidth: () => Cast(document.width, "number", 0),//TODO Types These are inline functions
PanelHeight: () => Cast(document.height, "number", 0),
ContentScaling: returnOne,