Fix tall node on creation by resizing after removing default outputs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,8 @@ app.registerExtension({
|
|||||||
this.addWidget("button", "Refresh Outputs", null, () => {
|
this.addWidget("button", "Refresh Outputs", null, () => {
|
||||||
this.refreshDynamicOutputs();
|
this.refreshDynamicOutputs();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.setSize(this.computeSize());
|
||||||
};
|
};
|
||||||
|
|
||||||
nodeType.prototype.refreshDynamicOutputs = async function () {
|
nodeType.prototype.refreshDynamicOutputs = async function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user