diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2017-08-21 19:13:24 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2017-08-21 19:20:11 +0100 |
commit | d6599fde0ae8e6d224c3449629917ecd5076480c (patch) | |
tree | 7a06fe64ce0ce76fe83f0e772fb2ae965f63d3d8 /editor/code_editor.cpp | |
parent | 1be30f35a68a9fb2c156ded45c8689cc44f26f29 (diff) |
Increased smooth scroll speed and added user setting
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index c33340ce69..a809f4b15e 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1088,6 +1088,7 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/line_numbers/show_breakpoint_gutter")); text_editor->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/cursor/block_caret")); text_editor->set_smooth_scroll_enabled(EditorSettings::get_singleton()->get("text_editor/open_scripts/smooth_scrolling")); + text_editor->set_v_scroll_speed(EditorSettings::get_singleton()->get("text_editor/open_scripts/v_scroll_speed")); } void CodeTextEditor::set_error(const String &p_error) { |