mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 11:42:34 +00:00
forgot to clear neg prompt after moving to back. Add tooltip to hints
This commit is contained in:
@@ -17,6 +17,7 @@ titles = {
|
||||
"\u2199\ufe0f": "Read generation parameters from prompt or last generation if prompt is empty into user interface.",
|
||||
"\u{1f4c2}": "Open images output directory",
|
||||
"\u{1f4be}": "Save style",
|
||||
"\U0001F5D1": "Clear prompt"
|
||||
"\u{1f4cb}": "Apply selected styles to current prompt",
|
||||
|
||||
"Inpaint a part of image": "Draw a mask over an image, and the script will regenerate the masked area with content according to prompt",
|
||||
|
@@ -162,7 +162,7 @@ function selected_tab_id() {
|
||||
|
||||
}
|
||||
|
||||
function clear_prompt(_, confirmed,_steps) {
|
||||
function clear_prompt(_, _prompt_neg, confirmed,_steps) {
|
||||
|
||||
if(confirm("Delete prompt?")) {
|
||||
confirmed = true
|
||||
@@ -176,7 +176,7 @@ return [_, confirmed]
|
||||
update_token_counter("txt2img_token_button")
|
||||
}
|
||||
|
||||
return [_, confirmed,_steps]
|
||||
return [_, _prompt_neg, confirmed,_steps]
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user