Merge pull request #5107 from Paulb23/caret_blink_update_issue_5100
Caret blink no longer updates when hidden, issue 5100
This commit is contained in:
commit
aa200ef735
1 changed files with 3 additions and 1 deletions
|
@ -3261,8 +3261,10 @@ void TextEdit::_reset_caret_blink_timer() {
|
|||
|
||||
void TextEdit::_toggle_draw_caret() {
|
||||
draw_caret = !draw_caret;
|
||||
if (is_visible()) {
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
void TextEdit::_update_caches() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue