Caret blink no longer updates when hidden, issue 5100
This commit is contained in:
parent
47944098c2
commit
e260e3872c
|
@ -3261,8 +3261,10 @@ void TextEdit::_reset_caret_blink_timer() {
|
||||||
|
|
||||||
void TextEdit::_toggle_draw_caret() {
|
void TextEdit::_toggle_draw_caret() {
|
||||||
draw_caret = !draw_caret;
|
draw_caret = !draw_caret;
|
||||||
|
if (is_visible()) {
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void TextEdit::_update_caches() {
|
void TextEdit::_update_caches() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue