This commit is contained in:
isidor 2021-07-01 09:21:51 +02:00
parent 9892154a51
commit 5fedf02134
No known key found for this signature in database
GPG key ID: F9280366A8370105

View file

@ -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);