Stop Beat Prompt height growth on reload
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user