Skip to content

Commit b07d14c

Browse files
committed
Don't expand/collapse the entire outline when shift-clicking on the triangles (PR 20508 follow-up)
1 parent 17a4d2e commit b07d14c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/base_tree_viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class BaseTreeViewer {
131131
target.classList.toggle("treeItemsHidden");
132132
if (e.shiftKey) {
133133
const shouldShowAll = !target.classList.contains("treeItemsHidden");
134-
this._toggleTreeItem(this.container, shouldShowAll);
134+
this._toggleTreeItem(target.parentNode, shouldShowAll);
135135
}
136136
});
137137
}

0 commit comments

Comments
 (0)