mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 19:48:09 +00:00
fix bad update
This commit is contained in:
parent
eb514dbb67
commit
174c9c69ec
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ export class IndexTreeModel<T extends Exclude<any, undefined>, TFilterData = voi
|
|||
result.push(node);
|
||||
node.renderNodeCount = 1;
|
||||
|
||||
if (node.collapsible && !node.collapsed) {
|
||||
if (!node.collapsed) {
|
||||
for (const child of node.children) {
|
||||
node.renderNodeCount += this._updateNodeAfterCollapseChange(child, result);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue