style refresh optimizations

This commit is contained in:
Gabor Kiss-Vamosi
2020-03-10 10:41:39 +01:00
parent 498f050262
commit dc4e643f62
29 changed files with 166 additions and 115 deletions

View File

@@ -99,7 +99,7 @@ lv_obj_t * lv_switch_create(lv_obj_t * par, const lv_obj_t * copy)
lv_switch_ext_t * copy_ext = lv_obj_get_ext_attr(copy);
lv_style_list_copy(&ext->style_knob, &copy_ext->style_knob);
lv_obj_refresh_style(sw);
lv_obj_refresh_style(sw, LV_STYLE_PROP_ALL);
}
/*Refresh the style with new signal function*/