fixes #127669
This commit is contained in:
parent
9892154a51
commit
5fedf02134
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ export class DebugHoverWidget implements IContentWidget {
|
|||
|
||||
private layoutTreeAndContainer(initialLayout: boolean): void {
|
||||
const scrollBarHeight = 10;
|
||||
const treeHeight = Math.min(this.editor.getLayoutInfo().height * 0.55, this.tree.contentHeight + scrollBarHeight);
|
||||
const treeHeight = Math.min(Math.max(266, this.editor.getLayoutInfo().height * 0.55), this.tree.contentHeight + scrollBarHeight);
|
||||
this.treeContainer.style.height = `${treeHeight}px`;
|
||||
this.tree.layout(treeHeight, initialLayout ? 400 : undefined);
|
||||
this.editor.layoutContentWidget(this);
|
||||
|
|
Loading…
Reference in a new issue