aboutsummaryrefslogtreecommitdiff
path: root/extensions-builtin/canvas-zoom-and-pan/scripts
diff options
context:
space:
mode:
authorDanil Boldyrev <daswerq123@gmail.com>2023-06-03 02:18:49 +0300
committerDanil Boldyrev <daswerq123@gmail.com>2023-06-03 02:18:49 +0300
commit1e0ab4015dbda84eb8b795714cba5b96d674f18c (patch)
tree60f2811cebd579d1a3ba006df632fa64598e4730 /extensions-builtin/canvas-zoom-and-pan/scripts
parentd306d25e5652a23cd1d92bd01a9cc3f06a6999b8 (diff)
Added the ability to swap the zoom hotkeys and resize the brush
Diffstat (limited to 'extensions-builtin/canvas-zoom-and-pan/scripts')
-rw-r--r--extensions-builtin/canvas-zoom-and-pan/scripts/hotkey_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions-builtin/canvas-zoom-and-pan/scripts/hotkey_config.py b/extensions-builtin/canvas-zoom-and-pan/scripts/hotkey_config.py
index 25d6d14e..d83e14da 100644
--- a/extensions-builtin/canvas-zoom-and-pan/scripts/hotkey_config.py
+++ b/extensions-builtin/canvas-zoom-and-pan/scripts/hotkey_config.py
@@ -1,9 +1,10 @@
from modules import shared
-shared.options_templates.update(shared.options_section(('canvas_hotkey', "Canvas hotkeys"), {
+shared.options_templates.update(shared.options_section(('canvas_hotkey', "Canvas Hotkeys"), {
"canvas_hotkey_move": shared.OptionInfo("F", "Moving the canvas"),
"canvas_hotkey_fullscreen": shared.OptionInfo("S", "Fullscreen Mode, maximizes the picture so that it fits into the screen and stretches it to its full width "),
"canvas_hotkey_reset": shared.OptionInfo("R", "Reset zoom and canvas positon"),
"canvas_hotkey_overlap": shared.OptionInfo("O", "Toggle overlap ( Technical button, neededs for testing )"),
"canvas_show_tooltip": shared.OptionInfo(True, "Enable tooltip on the canvas"),
+ "canvas_swap_controls": shared.OptionInfo(False, "Swap hotkey combinations for Zoom and Adjust brush resize"),
}))