summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-02 09:35:16 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-02 09:35:16 +0100
commit9c84aae9402ea979989c9e2d3ddeb70663da813c (patch)
tree2df5c81baaccc2214e1a9abdda1290c8d8428e28
parent7c4774edd26f27bfda2d4f7376c42b1ecedcd445 (diff)
parenta54cb5b07b94082c2f33d38286b5bb5c66b630c2 (diff)
Merge pull request #72471 from mbrlabs/blink
Always show caret when moving in LineEdit
-rw-r--r--scene/gui/line_edit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index dba08e16cb..16a718722c 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -84,6 +84,7 @@ void LineEdit::_move_caret_left(bool p_select, bool p_move_by_word) {
}
shift_selection_check_post(p_select);
+ _reset_caret_blink_timer();
}
void LineEdit::_move_caret_right(bool p_select, bool p_move_by_word) {
@@ -116,6 +117,7 @@ void LineEdit::_move_caret_right(bool p_select, bool p_move_by_word) {
}
shift_selection_check_post(p_select);
+ _reset_caret_blink_timer();
}
void LineEdit::_move_caret_start(bool p_select) {