diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-14 15:42:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 15:42:19 +0200 |
commit | a3d0b89892a7b1ce19b75e5e2448c0e42af3539d (patch) | |
tree | 44b7670ecac9633893c770cd8209a18cf2e21174 | |
parent | 240462e99877e00c8846c4bb3e01b83ef70aac40 (diff) | |
parent | 44d761e55cfd185b08081936979c9b89f593ecf7 (diff) |
Merge pull request #20876 from ttencate/cursor_blink
Reset caret blink when Ctrl+moving the cursor
-rw-r--r-- | scene/gui/text_edit.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 949b6e6098..9a8dc62e4e 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -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; |