refresh row map after collection deletion

It refreshes customRowHeights which is used by windowed list to
calculate the right offsets.
Without this, customRowHeights remains same as before deletion, so windowed
list picks the offset based on stale data, which makes it use smaller
offset that makes headers overlap with other rows.
This commit is contained in:
abaevbog 2024-01-09 23:29:22 -05:00 committed by Dan Stillman
parent cae1bf3ab0
commit 5b1fd4b628

View file

@ -810,6 +810,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
this._removeRow(row);
this._removeRow(row - 1);
}
this._refreshRowMap();
}
// If there's an active filter, we can have a child matching filter be deleted
// which means the non-matching parent needs to be removed, so the tree is rebuilt