1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-04 07:52:46 +08:00

Clean keybinds extension

This commit is contained in:
reaper47
2023-06-19 21:32:21 +02:00
parent 8883cb0f67
commit 96e8307bd3
3 changed files with 26 additions and 29 deletions

View File

@@ -211,6 +211,9 @@ class ComfySettingsDialog extends ComfyDialog {
$el("button", {
type: "button",
textContent: "Close",
style: {
cursor: "pointer",
},
onclick: () => {
this.element.close();
},
@@ -267,7 +270,7 @@ class ComfySettingsDialog extends ComfyDialog {
$el("label", {
for: htmlID,
classList: [tooltip !== "" ? "comfy-tooltip-indicator" : ""],
textContent: name.endsWith(":") ? name : `${name}:`,
textContent: name,
})
]);