瀏覽代碼

Fixes file hiding when clicked in Commit Details

main
Keith Daulton 2 年之前
父節點
當前提交
8995698907
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      src/webviews/apps/shared/components/list/list-item.ts

+ 3
- 1
src/webviews/apps/shared/components/list/list-item.ts 查看文件

@ -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(() => {

||||||
x
 
000:0
Loading…
取消
儲存