Added dropdown under workflow gallery button for sharing, added a comfyui setting for showing/hiding share button in the main menu

This commit is contained in:
thecooltechguy
2023-10-26 14:37:47 -07:00
parent ba3a6d5afd
commit 8b2048e5c3
2 changed files with 106 additions and 12 deletions

View File

@@ -9,16 +9,16 @@ export class ShareDialog extends ComfyDialog {
constructor() {
super();
this.element = $el("div.comfy-modal", { parent: document.body },
[$el("div.comfy-modal-content",
{
style: {
overflowY: "auto",
}
},
[...this.createButtons()]),
]);
this.element = $el("div.comfy-modal", { parent: document.body },
[$el("div.comfy-modal-content",
{
style: {
overflowY: "auto",
}
},
[...this.createButtons()]),
]);
}
createButtons() {