fix(theme): in the basic theme show the textarea cursor only in focuses state

This commit is contained in:
Gabor Kiss-Vamosi
2022-02-22 20:52:44 +01:00
parent 83343f11a1
commit bb03fb197c

View File

@@ -349,7 +349,7 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj)
else if(lv_obj_check_type(obj, &lv_textarea_class)) {
lv_obj_add_style(obj, &styles->white, 0);
lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR);
lv_obj_add_style(obj, &styles->ta_cursor, LV_PART_CURSOR);
lv_obj_add_style(obj, &styles->ta_cursor, LV_PART_CURSOR | LV_STATE_FOCUSED);
}
#endif