提交 0e24b75b 编写于 作者: J Joao Moreno

explorer: should not reveal, focus or select roots

上级 4244e039
......@@ -522,7 +522,7 @@ export class ExplorerView extends ViewletPanel {
item = first(values(item.children), i => isEqualOrParent(resource, i.resource));
}
if (item) {
if (item && item.parent) {
if (reveal) {
this.tree.reveal(item, 0.5);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册