diff options
author | jmb462 <jmb462@gmail.com> | 2022-02-12 14:40:49 +0100 |
---|---|---|
committer | Jean-Michel Bernard <jmb462@gmail.com> | 2022-04-03 21:07:39 +0200 |
commit | 0d17903bd5996a4a52729c5876fbad51c64becaf (patch) | |
tree | 8cccd85c1444482af8034ed129b6638cb0fa96a5 /editor/editor_settings.cpp | |
parent | 7bb963efe9083662baa356f56a2d5c368b96a9a0 (diff) | |
download | redot-engine-0d17903bd5996a4a52729c5876fbad51c64becaf.tar.gz |
Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
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") |