diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-12 11:36:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 11:36:41 +0100 |
commit | b5495783b2c1848eab321aedde3d3805d9be6b3b (patch) | |
tree | 5d03cfc7cffe8924f3dc56aea9811b5d9bdbf334 /editor/editor_node.cpp | |
parent | dc3b2e6ea26ae6d76dfdfa180d3dbd59cd8d0df8 (diff) | |
parent | ba7ed0579296464642f1cc90fe76590467793131 (diff) |
Merge pull request #53185 from KoBeWi/viewing_pan
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index afd5407f37..26ce78c0c6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6038,6 +6038,9 @@ EditorNode::EditorNode() { EDITOR_DEF("interface/inspector/default_color_picker_shape", (int32_t)ColorPicker::SHAPE_VHS_CIRCLE); EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::INT, "interface/inspector/default_color_picker_shape", PROPERTY_HINT_ENUM, "HSV Rectangle,HSV Rectangle Wheel,VHS Circle", PROPERTY_USAGE_DEFAULT)); EDITOR_DEF("run/auto_save/save_before_running", true); + EDITOR_DEF("interface/editors/sub_editor_panning_scheme", 0); + // Should be in sync with ControlScheme in ViewPanner. + EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::INT, "interface/editors/sub_editor_panning_scheme", PROPERTY_HINT_ENUM, "Scroll Zooms,Scroll Pans", PROPERTY_USAGE_DEFAULT)); const Vector<String> textfile_ext = ((String)(EditorSettings::get_singleton()->get("docks/filesystem/textfile_extensions"))).split(",", false); for (const String &E : textfile_ext) { |