提交 7136e8d0 编写于 作者: J Johannes Rieken
上级 e1aefa25
......@@ -663,12 +663,12 @@ export class SuggestWidget implements IDisposable {
}
showDetails(loading: boolean): void {
this._details.show();
if (loading) {
this._details.widget.renderLoading();
} else {
this._details.widget.renderItem(this.list.getFocusedElements()[0], this.explainMode);
}
this._details.show();
this._positionDetails();
this.editor.focus();
this.element.domNode.classList.add('shows-details');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册