aboutsummaryrefslogtreecommitdiff
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-06 23:06:32 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-12-06 23:06:32 +0900
commit9d2cbf8e97832662e446145d3961c39e78919d3d (patch)
treec3bdc1af8a5c643f11aaf5fe71708c991df6cc85 /modules/shared_options.py
parentf92d61497a426a19818625c3ccdaae9beeb82b31 (diff)
add option: Live preview in full page image viewer
make #13459 "show the preview image in the modal view if available" optional
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index e5de0d01..88cfdded 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -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"), {