Skip to content

Commit

Permalink
lower debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
EstherPerelman committed Nov 4, 2021
1 parent 382a545 commit 6a376d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export class TreeViewWidget extends TreeViewWelcomeWidget {
this.forceUpdateGrid();
}

protected forceUpdateGrid = debounce(() => this.view?.list?.forceUpdateGrid(), 10);
protected forceUpdateGrid = debounce(() => this.view?.list?.forceUpdateGrid(), 1);

protected createNodeAttributes(node: TreeNode, props: NodeProps): React.Attributes & React.HTMLAttributes<HTMLElement> {
return {
Expand Down

0 comments on commit 6a376d3

Please sign in to comment.