minor fix

This commit is contained in:
Gabor Kiss-Vamosi
2020-10-31 14:22:35 +01:00
parent 4fbc518d6a
commit a2cc8c3127

View File

@@ -741,7 +741,9 @@ void lv_obj_set_state(lv_obj_t * obj, lv_state_t new_state)
}
}
if(cmp_res == _LV_STYLE_STATE_CMP_VISUAL_DIFF) {
#if LV_STYLE_CACHE_LEVEL > 0
_lv_obj_invalidate_style_cache(obj, part, LV_STYLE_PROP_ALL);
#endif
}
}