mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 04:17:01 -05:00
fixes #95697
This commit is contained in:
@@ -1109,7 +1109,9 @@ class TreeNodeListMouseController<T, TFilterData, TRef> extends MouseController<
|
||||
expandOnlyOnTwistieClick = !!this.tree.expandOnlyOnTwistieClick;
|
||||
}
|
||||
|
||||
if (expandOnlyOnTwistieClick && !onTwistie) {
|
||||
const clickedOnFocus = this.tree.getFocus()[0] === node.element;
|
||||
|
||||
if (expandOnlyOnTwistieClick && !onTwistie && e.browserEvent.detail !== 2 && !(clickedOnFocus && !node.collapsed)) {
|
||||
return super.onViewPointer(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user