aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2019-06-26 12:51:18 -0400
committerGitHub <noreply@github.com>2019-06-26 12:51:18 -0400
commitdeb85766ac5648cc8e3ab4bf9d182ac5bbbbe144 (patch)
tree2d89512eab9c7ba4a976229a87e33675616ebe57 /src/client/views/collections/CollectionStackingView.tsx
parent219cabb3fe42ab199550efc3423b7aaed4e1ee93 (diff)
parent5e477755b392128ab8b39c082f16dd67708be0d2 (diff)
Merge pull request #170 from browngraphicslab/presentation-selection-mohammad
Presentation selection mohammad
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 c855cb43a..597e4795c 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -99,7 +99,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
let dref = React.createRef<HTMLDivElement>();
let dxf = () => this.getDocTransform(d, dref.current!).scale(this.columnWidth / d[WidthSym]());
let width = () => d.nativeWidth ? Math.min(d[WidthSym](), this.columnWidth) : 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));
return (<div className="collectionStackingView-masonryDoc"
key={d[Id]}