diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-05-28 12:44:16 +0530 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-05-28 12:44:16 +0530 |
| commit | 560ca031c14d4b6524d2bb38b76c26ce2a8adff2 (patch) | |
| tree | adc68961ad5ac97fcd3c333463686b060e1ef08a /src/client/views/collections/collectionGrid/CollectionGridView.tsx | |
| parent | fb23850659dd6cc0b75d208168e25033096e07df (diff) | |
minor
Diffstat (limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionGrid/CollectionGridView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx index a887cf98b..cece6368a 100644 --- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx +++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx @@ -318,6 +318,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { ref={this.createDashEventsTarget} //onPointerDown={(e: React.PointerEvent) => e.stopPropagation()} > + DIV HERE with ref to access scroll of and adjust in getting position <Grid width={this.props.PanelWidth()} nodeList={contents} @@ -326,6 +327,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { rowHeight={this.props.Document.rowHeight as number} setLayout={this.setLayout} flex={this.props.Document.flexGrid as boolean} + scale={1 / this.props.ScreenToLocalTransform().Scale} /> </div> ); |
