Browse Source

Fixes file hiding when clicked in Commit Details

main
Keith Daulton 2 years ago
parent
commit
8995698907
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/webviews/apps/shared/components/list/list-item.ts

+ 3
- 1
src/webviews/apps/shared/components/list/list-item.ts View File

@ -208,7 +208,9 @@ export class ListItem extends FASTElement {
select(_showOptions?: TextDocumentShowOptions, quiet = false) {
// TODO: this needs to be implemented
this.expanded = !this.expanded;
if (this.branch) {
this.expanded = !this.expanded;
}
this.active = true;
if (!quiet) {
window.requestAnimationFrame(() => {

Loading…
Cancel
Save