aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-19 17:16:04 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-19 17:16:04 +0300
commit028fc25f28c38b89220694c676070f49c34a1d2b (patch)
tree03ade0b27d8459bcf1bc9294b413beb059f53cd8 /modules/shared.py
parentbf1f3b8daf22a79ef15708edbbfb623157de1307 (diff)
fix the issue with incorrect js options on page load
add a setting for lightbox max size images use setting for lightbox max size images late to let user change it and see results
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index c2c3c7ee..439c8edf 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -160,6 +160,7 @@ class Options:
"interrogate_clip_dict_limit": OptionInfo(1500, "Interrogate: maximum number of lines in text file (0 = No limit)"),
"sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Radio, lambda: {"choices": [x.title for x in modules.sd_models.checkpoints_list.values()]}),
"js_modal_lightbox": OptionInfo(True, "Enable full page image viewer"),
+ "js_modal_lightbox_initialy_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
}
def __init__(self):