aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authormissionfloyd <missionfloyd@users.noreply.github.com>2023-05-07 04:16:51 +0000
committermissionfloyd <missionfloyd@users.noreply.github.com>2023-05-07 04:16:51 +0000
commit99f3bf07d2976211eed81a9293a447c7ead2d893 (patch)
treedf804f78f48b3fffd395e05adf7946d79399f855 /modules/shared.py
parentcca5782d183c389e46a822a6e0abc4f8fd2d8df8 (diff)
downloadstable-diffusion-webui-gfx803-99f3bf07d2976211eed81a9293a447c7ead2d893.tar.gz
stable-diffusion-webui-gfx803-99f3bf07d2976211eed81a9293a447c7ead2d893.tar.bz2
stable-diffusion-webui-gfx803-99f3bf07d2976211eed81a9293a447c7ead2d893.zip
gamepad repeat option
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 b3ca8401..d8d2bc78 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -400,6 +400,7 @@ options_templates.update(options_section(('ui', "User interface"), {
"js_modal_lightbox": OptionInfo(True, "Enable full page image viewer"),
"js_modal_lightbox_initially_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
"js_modal_lightbox_gamepad": OptionInfo(True, "Navigate image viewer with gamepad"),
+ "js_modal_lightbox_gamepad_repeat": OptionInfo(250, "Gamepad repeat period, in milliseconds"),
"show_progress_in_title": OptionInfo(True, "Show generation progress in window title."),
"samplers_in_dropdown": OptionInfo(True, "Use dropdown for sampler selection instead of radio group"),
"dimensions_and_batch_together": OptionInfo(True, "Show Width/Height and Batch sliders in same row"),