Skip to content

Commit

Permalink
Misc changes for the new tree- and -list api #3696
Browse files Browse the repository at this point in the history
  • Loading branch information
ashklianko committed Sep 18, 2024
1 parent 582c4b1 commit 0cab614
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ export class SelectableListBoxWrapper<I>
}

protected handleItemUpdated(item: I): void {
this.updateItemIfSelected(item);
}

updateItemIfSelected(item: I): void {
const itemId = this.listBox.getIdOfItem(item);

if (this.selectedItems.has(itemId)) {
Expand Down

0 comments on commit 0cab614

Please sign in to comment.