Fixed caret not drawing on focus regain
This commit is contained in:
parent
93441d6119
commit
8f6b56cfda
|
@ -1209,6 +1209,9 @@ void TextEdit::_notification(int p_what) {
|
|||
} break;
|
||||
case NOTIFICATION_FOCUS_ENTER: {
|
||||
|
||||
if (!caret_blink_enabled) {
|
||||
draw_caret = true;
|
||||
}
|
||||
if (OS::get_singleton()->has_virtual_keyboard())
|
||||
OS::get_singleton()->show_virtual_keyboard(get_text(),get_global_rect());
|
||||
|
||||
|
|
Loading…
Reference in New Issue