提交 e4ceb819 编写于 作者: I isidor

debug: fix hover jumping around

fixes #94581
上级 ba044934
......@@ -177,7 +177,6 @@ export class DebugHoverWidget implements IContentWidget {
}
async showAt(range: Range, focus: boolean): Promise<void> {
const session = this.debugService.getViewModel().focusedSession;
if (!session || !this.editor.hasModel()) {
......@@ -285,12 +284,12 @@ export class DebugHoverWidget implements IContentWidget {
this.valueContainer.hidden = true;
this.complexValueContainer.hidden = false;
await this.tree.setInput(expression);
this.complexValueTitle.textContent = expression.value;
this.complexValueTitle.title = expression.value;
this.layoutTreeAndContainer();
this.editor.layoutContentWidget(this);
this.scrollbar.scanDomNode();
await this.tree.setInput(expression);
this.tree.scrollTop = 0;
this.tree.scrollLeft = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册