Merge pull request #20876 from ttencate/cursor_blink

Reset caret blink when Ctrl+moving the cursor
This commit is contained in:
Rémi Verschelde 2018-08-14 15:42:19 +02:00 committed by GitHub
commit a3d0b89892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -2200,9 +2200,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
k->set_shift(false); k->set_shift(false);
} }
if (!k->get_command()) { _reset_caret_blink_timer();
_reset_caret_blink_timer();
}
// save here for insert mode, just in case it is cleared in the following section // save here for insert mode, just in case it is cleared in the following section
bool had_selection = selection.active; bool had_selection = selection.active;