Stop Beat Prompt height growth on reload

This commit is contained in:
2026-08-27 07:09:09 +00:00
parent 9067f1fce9
commit 7ad087f781
+1 -4
View File
@@ -527,10 +527,7 @@ function setupNode(node) {
getMinHeight: () => 180,
hideOnZoom: false,
});
widget.computeLayoutSize = () => ({
minHeight: Math.max(220, node.size?.[1] || DEFAULT_H),
minWidth: Math.max(MIN_W, node.size?.[0] || DEFAULT_W),
});
widget.computeLayoutSize = () => ({ minHeight: DEFAULT_H, minWidth: DEFAULT_W });
applyAdaptiveCanvasOnly(widget);
node.size[0] = Math.max(node.size[0] || 0, DEFAULT_W);