summaryrefslogtreecommitdiffstats
path: root/editor/editor_settings.cpp
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 /editor/editor_settings.cpp
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 'editor/editor_settings.cpp')
-rw-r--r--editor/editor_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index 537e862a51..4ae0aa7e4a 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -688,6 +688,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("editors/2d/bone_outline_color", Color(0.35, 0.35, 0.35, 0.5));
_initial_set("editors/2d/bone_outline_size", 2);
_initial_set("editors/2d/viewport_border_color", Color(0.4, 0.4, 1.0, 0.4));
+ _initial_set("editors/2d/use_integer_zoom_by_default", false);
// Panning
// Enum should be in sync with ControlScheme in ViewPanner.