Merge pull request #20876 from ttencate/cursor_blink
Reset caret blink when Ctrl+moving the cursor
This commit is contained in:
commit
a3d0b89892
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue