aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-27 19:51:58 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-27 19:51:58 -0400
commit7a820b3b175ea52712927e75ce16e32f0ed3a131 (patch)
tree9a9eadb1ac6845109c2a51a323ca263ad3bc662e /src/client/views/collections
parent430c14fe9d059ea3f7905d30500ba53f4fc288b9 (diff)
Compiling
Diffstat (limited to 'src/client/views/collections')
-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 80900c450..047fbad18 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -97,7 +97,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) {
if (!NumCast(d.height)) {
let nw = NumCast(d.nativeWidth);
let nh = NumCast(d.nativeHeight);
- d.height = nw && nh ? nh / nw * d.Width() : 300;
+ d.height = nw && nh ? nh / nw * NumCast(d.Width) : 300;
}
this.bringToFront(d);
});