提交 2f6abf36 编写于 作者: J Johannes Rieken

wait for reveal when following cursor

上级 5b17d433
......@@ -206,7 +206,8 @@ export class OutlinePanel extends ViewsViewletPanel {
column: e.selection.selectionStartColumn
});
if (item) {
this._tree.reveal(item);
await this._tree.reveal(item);
this._tree.setFocus(item, this);
this._tree.setSelection([item], this);
} else {
this._tree.setSelection([], this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册