Clear item tree pivot after switching collections. Closes #3551

After switching collections and shift-clicking on the item tree
will no longer group-select from the pivot of the previous selection
This commit is contained in:
Adomas Venčkauskas 2024-02-08 15:03:02 +02:00
parent 527fa5b12f
commit 90282b3739

View file

@ -127,6 +127,7 @@ class TreeSelection {
clearSelection() {
this.selected = new Set();
this.pivot = 0;
if (this.selectEventsSuppressed) return;
if (this._tree.invalidate) {