Removes short-circuit that causes mis-alignment

This commit is contained in:
Eric Amodio
2020-08-12 16:41:54 -04:00
parent 8c1aa16f4b
commit 4a67f133c8
@@ -900,9 +900,6 @@ class Aligner extends Disposable {
if (this._tree) {
const parent: ITreeItem = this._tree.getParentElement(treeItem) || this._tree.getInput();
if (this.hasIcon(parent)) {
return false;
}
return !!parent.children && parent.children.every(c => c.collapsibleState === TreeItemCollapsibleState.None || !this.hasIcon(c));
} else {
return false;