aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samuel_wilkins@brown.edu>2019-06-20 19:43:02 -0400
committerSam Wilkins <samuel_wilkins@brown.edu>2019-06-20 19:43:02 -0400
commita9467953c840bb38b70447861ac95731d3a62aa0 (patch)
tree41253983d924608ba5adc64826491f165574ce06 /src/client/views/collections/CollectionStackingView.tsx
parent9ea5aa5a5da3f098afbc92343c63bc21afaf4b1f (diff)
parenta40e7bb5e9d1256002083d7e3f3c4db60cd8e9df (diff)
merged with master
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 368e94a8c..521e8d616 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -101,7 +101,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
let renderScale = this.columnWidth / NumCast(d.nativeWidth, this.columnWidth);
let aspect = NumCast(d.nativeWidth) / NumCast(d.nativeHeight);
let width = () => this.columnWidth;
- let height = () => aspect ? width() / aspect : d[HeightSym]()
+ let height = () => aspect ? width() / aspect : d[HeightSym]();
let rowSpan = Math.ceil((height() + this.gridGap) / (this._gridSize + this.gridGap));
let childFocus = (doc: Doc) => {
doc.libraryBrush = true;