1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

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

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;