We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c95491 commit 2ca206aCopy full SHA for 2ca206a
src/vs/workbench/contrib/debug/browser/debugHover.ts
@@ -316,13 +316,14 @@ export class DebugHoverWidget implements IContentWidget {
316
// Do this in beforeRender once the content widget is no longer display=none so that its elements' sizes will be measured correctly.
317
this.isUpdatingTree = true;
318
this.tree.setInput(expression).then(() => {
319
- this.isUpdatingTree = false;
320
dom.scheduleAtNextAnimationFrame(() => {
321
// Wait for scrollWidth to update after a frame
322
this.layoutTree();
323
this.editor.layoutContentWidget(this);
324
this.complexValueContainer.style.visibility = '';
325
});
+ }).finally(() => {
326
+ this.isUpdatingTree = false;
327
328
}
329
0 commit comments