ComfyUI
ComfyUI copied to clipboard
New menu fixes - fix send to workflow
Fix / add "Send To Workflow"
Right click on an image, there should now be a "Send to workflow" option, listing all your saved workflows.
You can choose one from here, or the current workflow.
If a workflow has multiple LoadImage nodes, you can choose the default by including "Input" in the title of the node, else you'll get a prompt to choose which node to use.
Fix center align of close workflow dialog
Have an unsaved workflow, close it, previously the dialog was misaligned horizontally
Better support for elements around canvas
May help resolve some issues with other nodes
Run this to test adding extra elements around the canvas, previously this would totally break the canvas:
(() => {
var el = (txt, bd = "red", bg = "black") => {
var t = document.createElement("div");
t.style.background = bg;
t.style.border = "5px solid " + bd;
t.style.minWidth = "100px";
t.style.minHeight = "100px";
t.textContent = txt;
return t;
}
// Add elements to each edge
["Top", "Right", "Bottom", "Left"].forEach(s => {
app[`body${s}`].append(el(s));
});
// Add elements directly to body (these will still be weird, but not break stuff)
document.body.append(el("Append", "blue", "yellow"));
document.body.prepend(el("Prepend", "green", "orange"));
})();