Skip to content

Commit 07041af

Browse files
committed
Skip indent guide highlighting if possible
1 parent cb5e69a commit 07041af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vscode-tree/vscode-tree.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ export class VscodeTree extends VscElement {
273273
}
274274

275275
private _highlightIndentGuides() {
276+
if (this.indentGuides === IndentGuides.none) {
277+
return;
278+
}
279+
276280
this._treeContextState.highlightedItems?.forEach(
277281
(i) => (i.highlightedGuides = false)
278282
);

0 commit comments

Comments
 (0)