diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-02-18 23:02:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 23:02:26 -0500 |
commit | 70f0ba1275fa879e86d05c1aa3bb5b1567e3d04c (patch) | |
tree | 7744b7432aa9e65604f18a6a4db9d10c32f30480 /src/client/views/collections/CollectionSchemaView.tsx | |
parent | 3f98d6ec6050e7faa15179871f0d9669c1188a78 (diff) | |
parent | 842f571bfb4952d12804a8dbdc66aedbf2bf6b81 (diff) |
Merge pull request #6 from browngraphicslab/transforms
Transforms
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 76706f520..9a0ce0782 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -28,7 +28,8 @@ export class CollectionSchemaView extends CollectionViewBase { let props: FieldViewProps = { doc: rowProps.value[0], fieldKey: rowProps.value[1], - DocumentViewForField: undefined, + isSelected: () => false, + isTopMost: false } let contents = ( <FieldView {...props} /> @@ -122,8 +123,9 @@ export class CollectionSchemaView extends CollectionViewBase { <div ref={measureRef}> <DocumentView Document={children[this.selectedIndex]} AddDocument={this.addDocument} RemoveDocument={this.removeDocument} - GetTransform={() => Transform.Identity}//TODO This should probably be an actual transform - ParentScaling={this._parentScaling} + ScreenToLocalTransform={() => Transform.Identity}//TODO This should probably be an actual transform + Scaling={this._parentScaling} + isTopMost={false} DocumentView={undefined} ContainingCollectionView={me} /> </div> } |