mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-18 08:35:03 +00:00
bugfix: Fixing the calculation issue when an image widget is added to the size calculation of the text widget.
This commit is contained in:
@@ -365,6 +365,10 @@ export class ComfyApp {
|
||||
}
|
||||
|
||||
node.prototype.setSizeForImage = function () {
|
||||
if (this.inputHeight) {
|
||||
this.setSize(this.size);
|
||||
return;
|
||||
}
|
||||
const minHeight = getImageTop(this) + 220;
|
||||
if (this.size[1] < minHeight) {
|
||||
this.setSize([this.size[0], minHeight]);
|
||||
|
Reference in New Issue
Block a user