Ability to hide menu

Responsive setting screen
Touch events for zooming/context menu
This commit is contained in:
pythongosssss
2024-01-22 18:56:43 +00:00
parent f2d432f9a7
commit 8a92ac2120
4 changed files with 252 additions and 62 deletions

View File

@@ -16,7 +16,17 @@ export class ComfySettingsDialog extends ComfyDialog {
},
[
$el("table.comfy-modal-content.comfy-table", [
$el("caption", { textContent: "Settings" }),
$el(
"caption",
{ textContent: "Settings" },
$el("button.comfy-btn", {
type: "button",
textContent: "\u00d7",
onclick: () => {
this.element.close();
},
})
),
$el("tbody", { $: (tbody) => (this.textElement = tbody) }),
$el("button", {
type: "button",