mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
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:
parent
527fa5b12f
commit
90282b3739
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ class TreeSelection {
|
|||
|
||||
clearSelection() {
|
||||
this.selected = new Set();
|
||||
this.pivot = 0;
|
||||
if (this.selectEventsSuppressed) return;
|
||||
|
||||
if (this._tree.invalidate) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue