Add an option in the UI to disable sliders.

This commit is contained in:
comfyanonymous
2023-08-01 18:50:06 -04:00
parent 834ab278d2
commit e4a3e9e54c
2 changed files with 19 additions and 7 deletions

View File

@@ -542,6 +542,13 @@ export class ComfyUI {
defaultValue: "",
});
this.settings.addSetting({
id: "Comfy.DisableSliders",
name: "Disable sliders.",
type: "boolean",
defaultValue: false,
});
const fileInput = $el("input", {
id: "comfy-file-input",
type: "file",