Extend maximum number of table cell styles from 4 to 16 (#1800)

This commit is contained in:
tosriram
2020-09-21 11:50:54 -04:00
committed by GitHub
parent a81574543b
commit 5ef1df9357
9 changed files with 72 additions and 76 deletions

View File

@@ -4058,8 +4058,9 @@ static void report_style_mod_core(void * style, lv_obj_t * obj)
uint8_t ci;
for(ci = 0; ci < list->style_cnt; ci++) {
lv_style_t * class = lv_style_list_get_style(list, ci);
if(class == style || style == NULL) {
/* changed class to _class to allow compilation as c++ */
lv_style_t * _class = lv_style_list_get_style(list, ci);
if(_class == style || style == NULL) {
lv_obj_refresh_style(obj, part, LV_STYLE_PROP_ALL);
break;
}