summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorSettings.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-07-14 21:27:54 +0200
committerYuri Sizov <yuris@humnom.net>2023-07-14 21:27:54 +0200
commit5f23b8b91669173664595b32996f736ac30df9cb (patch)
treef3b9890fadb2a9c99f925e9245d2bb991eb3e2db /doc/classes/EditorSettings.xml
parent0f7625ab46a64b3f5da2b09969ebabf38df9a6e9 (diff)
parent9676905aee31a4554a40177cec3147244abd9d9e (diff)
downloadredot-engine-5f23b8b91669173664595b32996f736ac30df9cb.tar.gz
Merge pull request #78451 from alula/integer-zoom
Add option to swap default Alt+scroll zooming behavior in 2D editor
Diffstat (limited to 'doc/classes/EditorSettings.xml')
-rw-r--r--doc/classes/EditorSettings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml
index 05a3e22830..c7d05eb913 100644
--- a/doc/classes/EditorSettings.xml
+++ b/doc/classes/EditorSettings.xml
@@ -250,6 +250,9 @@
<member name="editors/2d/smart_snapping_line_color" type="Color" setter="" getter="">
The color to use when drawing smart snapping lines in the 2D editor. The smart snapping lines will automatically display when moving 2D nodes if smart snapping is enabled in the Snapping Options menu at the top of the 2D editor viewport.
</member>
+ <member name="editors/2d/use_integer_zoom_by_default" type="bool" setter="" getter="">
+ If [code]true[/code], the 2D editor will snap to integer zoom values while not holding the [kbd]Alt[/kbd] key and powers of two while holding it. If [code]false[/code], this behavior is swapped.
+ </member>
<member name="editors/2d/viewport_border_color" type="Color" setter="" getter="">
The color of the viewport border in the 2D editor. This border represents the viewport's size at the base resolution defined in the Project Settings. Objects placed outside this border will not be visible unless a [Camera2D] node is used, or unless the window is resized and the stretch mode is set to [code]disabled[/code].
</member>