mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-15 06:41:00 -08:00
change styling for top right corner UI
made save style button not die when you cancel
This commit is contained in:
parent
f7ca63937a
commit
d3463bc59a
4 changed files with 39 additions and 38 deletions
|
|
@ -141,7 +141,7 @@ function submit_img2img(){
|
|||
|
||||
function ask_for_style_name(_, prompt_text, negative_prompt_text) {
|
||||
name_ = prompt('Style name:')
|
||||
return name_ === null ? [null, null, null]: [name_, prompt_text, negative_prompt_text]
|
||||
return [name_, prompt_text, negative_prompt_text]
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue