fix(obj) force layout recalculation on style change

This commit is contained in:
Gabor Kiss-Vamosi
2021-03-29 18:24:23 +02:00
parent 2dd9ca06d3
commit 722f1ca689
2 changed files with 35 additions and 25 deletions

View File

@@ -956,9 +956,7 @@ static void lv_obj_event_cb(lv_obj_t * obj, lv_event_t e)
lv_obj_refr_pos(child);
}
if(lv_obj_get_style_layout(obj, LV_PART_MAIN)) {
lv_obj_mark_layout_as_dirty(obj);
}
lv_obj_mark_layout_as_dirty(obj);
lv_obj_refresh_ext_draw_size(obj);
}