mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 19:48:09 +00:00
fix too many updates
This commit is contained in:
parent
1ba4dc6954
commit
332c4d9f64
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ export class IndexTreeModel<T extends Exclude<any, undefined>, TFilterData = voi
|
|||
private _setListNodeCollapseState(node: IMutableTreeNode<T, TFilterData>, listIndex: number, revealed: boolean, update: CollapseStateUpdate): boolean {
|
||||
const result = this._setNodeCollapseState(node, update, false);
|
||||
|
||||
if (!revealed || !node.visible) {
|
||||
if (!revealed || !node.visible || !result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue