mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
minor fix
This commit is contained in:
parent
4fbc518d6a
commit
a2cc8c3127
@ -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(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);
|
_lv_obj_invalidate_style_cache(obj, part, LV_STYLE_PROP_ALL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user