From a142c9a2f0be65218058c35b94202fbc4fd2c84c Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 19 Aug 2017 15:23:45 +0100 Subject: Added smooth scrolling to TextEdit --- editor/code_editor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/code_editor.cpp') diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 51b22df33..c33340ce6 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) { -- cgit v1.2.3-70-g09d2