add option: Live preview in full page image viewer

make #13459 "show the preview image in the modal view if available" optional
This commit is contained in:
w-e-w
2023-12-06 23:06:32 +09:00
parent f92d61497a
commit 9d2cbf8e97
2 changed files with 2 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ options_templates.update(options_section(('ui', "Live previews", "ui"), {
"live_preview_content": OptionInfo("Prompt", "Live preview subject", gr.Radio, {"choices": ["Combined", "Prompt", "Negative prompt"]}),
"live_preview_refresh_period": OptionInfo(1000, "Progressbar and preview update period").info("in milliseconds"),
"live_preview_fast_interrupt": OptionInfo(False, "Return image with chosen live preview method on interrupt").info("makes interrupts faster"),
"js_live_preview_in_modal_lightbox": OptionInfo(True, "Show Live preview in full page image viewer"),
}))
options_templates.update(options_section(('sampler-params', "Sampler parameters", "sd"), {