summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-04 13:50:52 +0200
committerGitHub <noreply@github.com>2022-04-04 13:50:52 +0200
commitf1592cb3da3f8149cea72026b4ce2c61a753c25c (patch)
treea56c22385d9f905e13fd18588dbb6c9a7efd87c3 /editor
parent10d9e479491c25a350a8ed191987dd36ed43c073 (diff)
parent0d17903bd5996a4a52729c5876fbad51c64becaf (diff)
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index 1364f7891e..66bbb79de8 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -542,7 +542,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("text_editor/behavior/navigation/move_caret_on_right_click", true);
_initial_set("text_editor/behavior/navigation/scroll_past_end_of_file", false);
_initial_set("text_editor/behavior/navigation/smooth_scrolling", true);
- _initial_set("text_editor/behavior/navigation/v_scroll_speed", 80);
+ EDITOR_SETTING(Variant::INT, PROPERTY_HINT_RANGE, "text_editor/behavior/navigation/v_scroll_speed", 80, "1,10000,1")
// Behavior: Indent
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "text_editor/behavior/indent/type", 0, "Tabs,Spaces")