diff --git a/src/core/lv_obj_style.c b/src/core/lv_obj_style.c index 265fd275b..b83199db1 100644 --- a/src/core/lv_obj_style.c +++ b/src/core/lv_obj_style.c @@ -842,6 +842,7 @@ static void report_style_change_core(void * style, lv_obj_t * obj) uint32_t i; for(i = 0; i < obj->style_cnt; i++) { if(style == NULL || obj->styles[i].style == style) { + full_cache_refresh(obj, lv_obj_style_get_selector_part(obj->styles[i].selector)); lv_obj_refresh_style(obj, LV_PART_ANY, LV_STYLE_PROP_ANY); break; }