Skip to content

Commit

Permalink
Tree - revert options propagation (#199755)
Browse files Browse the repository at this point in the history
  • Loading branch information
lszomoru committed Dec 1, 2023
1 parent 72c1091 commit 5dab501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/base/browser/ui/tree/asyncDataTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ export class CompressibleAsyncDataTree<TInput, T, TFilterData = void> extends As
return { focus, selection, expanded, scrollTop: this.scrollTop };
}

protected override render(node: IAsyncDataTreeNode<TInput, T>, viewStateContext?: IAsyncDataTreeViewStateContext<TInput, T>, options?: IAsyncDataTreeUpdateChildrenOptions<T>): void {
protected override render(node: IAsyncDataTreeNode<TInput, T>, viewStateContext?: IAsyncDataTreeViewStateContext<TInput, T>): void {
if (!this.identityProvider) {
return super.render(node, viewStateContext);
}
Expand Down Expand Up @@ -1307,7 +1307,7 @@ export class CompressibleAsyncDataTree<TInput, T, TFilterData = void> extends As
const oldSelection = getUncompressedIds(this.tree.getSelection() as IAsyncDataTreeNode<TInput, T>[]);
const oldFocus = getUncompressedIds(this.tree.getFocus() as IAsyncDataTreeNode<TInput, T>[]);

super.render(node, viewStateContext, options);
super.render(node, viewStateContext);

const selection = this.getSelection();
let didChangeSelection = false;
Expand Down

1 comment on commit 5dab501

@joaomoreno
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted this change: #201789
Related to: #199441 (comment)

Please sign in to comment.