mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
report_style_mod_core bugfix
This commit is contained in:
parent
f49dcdd62a
commit
b9a295afaf
@ -1620,14 +1620,14 @@ static void refresh_childen_position(lv_obj_t * obj, lv_coord_t x_diff, lv_coord
|
||||
|
||||
/**
|
||||
* Refresh the style of all children of an object. (Called recursively)
|
||||
* @param style_p refresh objects only with this style. (ignore is if NULL)
|
||||
* @param style_p refresh objects only with this style.
|
||||
* @param obj pointer to an object
|
||||
*/
|
||||
static void report_style_mod_core(void * style_p, lv_obj_t * obj)
|
||||
{
|
||||
lv_obj_t * i;
|
||||
LL_READ(obj->child_ll, i) {
|
||||
if(i->style_p == style_p) {
|
||||
if(i->style_p == style_p || style_p == NULL) {
|
||||
refresh_childen_style(i);
|
||||
lv_obj_refresh_style(i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user