You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Caret blink no longer updates when hidden, issue 5100
This commit is contained in:
@@ -3261,7 +3261,9 @@ void TextEdit::_reset_caret_blink_timer() {
|
|||||||
|
|
||||||
void TextEdit::_toggle_draw_caret() {
|
void TextEdit::_toggle_draw_caret() {
|
||||||
draw_caret = !draw_caret;
|
draw_caret = !draw_caret;
|
||||||
update();
|
if (is_visible()) {
|
||||||
|
update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextEdit::_update_caches() {
|
void TextEdit::_update_caches() {
|
||||||
|
|||||||
Reference in New Issue
Block a user