fix(textarea, spinbox) fix cursor position and size

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-19 15:29:17 +02:00
parent 7bd449fd59
commit b634a63963
2 changed files with 4 additions and 4 deletions

View File

@@ -926,7 +926,7 @@ static void theme_apply(lv_theme_t * th, lv_obj_t * obj)
lv_obj_add_style(obj, &styles->pad_small, 0);
lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY);
lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED);
lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_CURSOR | LV_STATE_FOCUSED);
lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_CURSOR);
}
#endif
#if LV_USE_TILEVIEW