aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-12-14 09:59:48 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-12-14 10:15:18 +0300
commitf8871dedcfe3a67689ef333aea2fdf05a9aaffa2 (patch)
treec3f17ad9d86b2c4481ce441f39ddc3022e6f0aa8 /modules
parentb7e0d4a7e171ee1cef73684b8423fe4a20ca7e34 (diff)
Merge pull request #14230 from AUTOMATIC1111/add-option-Live-preview-in-full-page-image-viewer
add option: Live preview in full page image viewer
Diffstat (limited to 'modules')
-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 acb6e2d4..41097d8e 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -331,6 +331,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"), {