mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
I think it looks a bit better like this.
This commit is contained in:
parent
10bbf208c4
commit
07598e27e5
@ -260,13 +260,13 @@ export class ComfyUI {
|
|||||||
$el("label", { innerHTML: "Extra options"}, [
|
$el("label", { innerHTML: "Extra options"}, [
|
||||||
$el("input", { type: "checkbox",
|
$el("input", { type: "checkbox",
|
||||||
onchange: (i) => {
|
onchange: (i) => {
|
||||||
document.getElementById('extraOptions').style.visibility = i.srcElement.checked ? "visible" : "collapse";
|
document.getElementById('extraOptions').style.display = i.srcElement.checked ? "block" : "none";
|
||||||
this.batchCount = i.srcElement.checked ? document.getElementById('batchCountInputRange').value : 1;
|
this.batchCount = i.srcElement.checked ? document.getElementById('batchCountInputRange').value : 1;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
$el("div", { id: "extraOptions", style: { width: "100%", visibility: "collapse" }}, [
|
$el("div", { id: "extraOptions", style: { width: "100%", display: "none" }}, [
|
||||||
$el("label", { innerHTML: "Batch count" }, [
|
$el("label", { innerHTML: "Batch count" }, [
|
||||||
$el("input", { id: "batchCountInputNumber", type: "number", value: this.batchCount, min: "1", style: { width: "35%", "margin-left": "0.4em" },
|
$el("input", { id: "batchCountInputNumber", type: "number", value: this.batchCount, min: "1", style: { width: "35%", "margin-left": "0.4em" },
|
||||||
oninput: (i) => {
|
oninput: (i) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user