summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brummer <mbrlabs7@gmail.com>2023-01-31 20:56:06 +0100
committerMarcus Brummer <mbrlabs7@gmail.com>2023-01-31 20:56:06 +0100
commita54cb5b07b94082c2f33d38286b5bb5c66b630c2 (patch)
tree28c9673575b5fd3db79bdf062e649ef225c6a3df
parent8612c12be61c0bc50d9039402fe19cabadfe0b16 (diff)
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) {