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

View file

@ -2200,9 +2200,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
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
bool had_selection = selection.active;