diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-05-28 15:38:32 +0530 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-05-28 15:38:32 +0530 |
| commit | 28388e57564accf6ba3758b475144a78c2774458 (patch) | |
| tree | 2e65a75bdad2f99eb4ff7afd1cd94c4fe156c3e0 /src/client/views/collections/collectionGrid/CollectionGridView.tsx | |
| parent | ab2a7c680ad2100582ac981a3aa2b05be73f0318 (diff) | |
css
Diffstat (limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionGrid/CollectionGridView.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx index fdd25558c..111ce4beb 100644 --- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx +++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx @@ -281,7 +281,6 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { // console.log(layout[0].w); // } - return ( <div className="collectionGridView-contents" style={{ @@ -297,12 +296,11 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { width={this.props.PanelWidth()} nodeList={contents} layout={layout} - transformScale={this.props.ScreenToLocalTransform().Scale} numCols={this.props.Document.numCols as number} rowHeight={this.props.Document.rowHeight as number} setLayout={this.setLayout} flex={this.props.Document.flexGrid as boolean} - scale={1 / this.props.ScreenToLocalTransform().Scale} + scale={this.props.ScreenToLocalTransform().Scale} /> </div> ); |
