summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-19 18:01:33 +0200
committerGitHub <noreply@github.com>2017-08-19 18:01:33 +0200
commit395544b4d09c3c28b3988eb42c567951974351dd (patch)
treee814d6d485e65f88523820c40277ff19947c592c /editor/code_editor.cpp
parentce85179e5df30f2670f9a7f2089d13e1676ebdd1 (diff)
parenta142c9a2f0be65218058c35b94202fbc4fd2c84c (diff)
Merge pull request #10447 from Paulb23/smooth_scrolling
Added smooth scrolling to TextEdit
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 51b22df331..c33340ce69 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1087,6 +1087,7 @@ void CodeTextEditor::update_editor_settings() {
text_editor->cursor_set_blink_speed(EditorSettings::get_singleton()->get("text_editor/cursor/caret_blink_speed"));
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"));
}
void CodeTextEditor::set_error(const String &p_error) {