diff options
| author | geireann <geireann.lindfield@gmail.com> | 2023-11-30 16:00:13 -0500 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2023-11-30 16:00:13 -0500 |
| commit | c918198a37e4ad5306b70a90ca1b3fcab2e28f76 (patch) | |
| tree | 1733a96358c2dcb949480416245bc3d6354966c7 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | ab1688962875073fa59a4a97303d0e0f0398ba5d (diff) | |
fixed rootSelected prop to be optional. fixed fonticont toggle to pass 'self' even though it's deprecated.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 5bd5cef25..36ea14d92 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -236,7 +236,6 @@ export class CollectionTreeView extends CollectionSubView<Partial<collectionTree renderDepth={this.props.renderDepth + 1} isContentActive={this.isContentActive} isDocumentActive={this.isContentActive} - rootSelected={returnFalse} forceAutoHeight={true} // needed to make the title resize even if the rest of the tree view is not layout_autoHeight PanelWidth={this.documentTitleWidth} PanelHeight={this.documentTitleHeight} @@ -335,7 +334,7 @@ export class CollectionTreeView extends CollectionSubView<Partial<collectionTree removeDocument={this.props.removeDocument} addDocTab={this.props.addDocTab} pinToPres={this.props.pinToPres} - rootSelected={this.props.isSelected} + rootSelected={this.rootSelected} ScreenToLocalTransform={Transform.Identity} PanelWidth={this.return35} PanelHeight={this.return35} |
