mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-08 23:44:39 +02:00
Restore width/height dropdown (#1445)
This commit is contained in:
@ -453,8 +453,8 @@ async function getAppConfig() {
|
||||
document.querySelectorAll("#sampler_name option.diffusers-only").forEach((option) => {
|
||||
option.style.display = "none"
|
||||
})
|
||||
width.step=64
|
||||
height.step=64
|
||||
customWidthField.step=64
|
||||
customHeightField.step=64
|
||||
} else {
|
||||
document.querySelector("#lora_model_container").style.display = ""
|
||||
document.querySelector("#tiling_container").style.display = ""
|
||||
@ -465,8 +465,8 @@ async function getAppConfig() {
|
||||
document.querySelector("#clip_skip_config").classList.remove("displayNone")
|
||||
document.querySelector("#embeddings-button").classList.remove("displayNone")
|
||||
document.querySelector("#negative-embeddings-button").classList.remove("displayNone")
|
||||
width.step=8
|
||||
height.step=8
|
||||
customWidthField.step=8
|
||||
customHeightField.step=8
|
||||
}
|
||||
|
||||
console.log("get config status response", config)
|
||||
|
Reference in New Issue
Block a user