mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Fix indentation
This commit is contained in:
parent
e87aa1873f
commit
8810e1b4b9
@ -270,7 +270,7 @@ class ComfySettingsDialog extends ComfyDialog {
|
|||||||
]),
|
]),
|
||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
case "slider":
|
case "slider":
|
||||||
element = $el("div", [
|
element = $el("div", [
|
||||||
$el("label", { textContent: name }, [
|
$el("label", { textContent: name }, [
|
||||||
$el("input", {
|
$el("input", {
|
||||||
@ -278,16 +278,16 @@ class ComfySettingsDialog extends ComfyDialog {
|
|||||||
value,
|
value,
|
||||||
oninput: (e) => {
|
oninput: (e) => {
|
||||||
setter(e.target.value);
|
setter(e.target.value);
|
||||||
e.target.nextElementSibling.value = e.target.value;
|
e.target.nextElementSibling.value = e.target.value;
|
||||||
},
|
},
|
||||||
...attrs
|
...attrs
|
||||||
}),
|
}),
|
||||||
$el("input", {
|
$el("input", {
|
||||||
type: "number",
|
type: "number",
|
||||||
value,
|
value,
|
||||||
oninput: (e) => {
|
oninput: (e) => {
|
||||||
setter(e.target.value);
|
setter(e.target.value);
|
||||||
e.target.previousElementSibling.value = e.target.value;
|
e.target.previousElementSibling.value = e.target.value;
|
||||||
},
|
},
|
||||||
...attrs
|
...attrs
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user