diff options
| author | bobzel <zzzman@gmail.com> | 2023-08-17 18:40:43 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-08-17 18:40:43 -0400 |
| commit | 571538ba1173aab673f856f6c22b188d0ab7876a (patch) | |
| tree | 23fe0fd13386628023bae7b130718772601ba7b0 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 354fb5c69aecb6378de0204168c96f81c94577b5 (diff) | |
minor fixes.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index b5c7d3f5d..eed04b3ee 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -426,6 +426,7 @@ export class CollectionTreeView extends CollectionSubView<Partial<collectionTree minHeight: '100%', }} onWheel={e => e.stopPropagation()} + onClick={e => (!this.layoutDoc.forceActive ? this.props.select(false) : SelectionManager.DeselectAll())} onDrop={this.onTreeDrop}> <ul className={`no-indent${this.outlineMode ? '-outline' : ''}`}>{this.treeViewElements}</ul> </div> |
