summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorSettings.xml
diff options
context:
space:
mode:
authorAlula <6276139+alula@users.noreply.github.com>2023-06-20 03:22:54 +0200
committerAlula <6276139+alula@users.noreply.github.com>2023-06-21 18:56:58 +0200
commit9676905aee31a4554a40177cec3147244abd9d9e (patch)
tree09e6866c79f1da7408a6f108b908f8f86c8dd08a /doc/classes/EditorSettings.xml
parenteb86dabee07e8dfce3b06cbd557b50b74afd3d6c (diff)
downloadredot-engine-9676905aee31a4554a40177cec3147244abd9d9e.tar.gz
Add option to swap Alt+scroll zooming behavior in 2D editor
Update doc/classes/EditorSettings.xml Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
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 59a74b5cd1..477933d29b 100644
--- a/doc/classes/EditorSettings.xml
+++ b/doc/classes/EditorSettings.xml
@@ -237,6 +237,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>