fix(scale): fix ITEM section styling

This commit is contained in:
Gabor Kiss-Vamosi 2023-10-12 22:01:56 +02:00
parent f7c25b7966
commit 7320d1aa21

View File

@ -407,6 +407,7 @@ static void scale_draw_indicator(lv_obj_t * obj, lv_event_t * event)
else {
scale_set_line_properties(obj, &minor_tick_dsc, section->items_style, LV_PART_ITEMS);
}
break;
}
else {
/* Tick is not in section, get the proper styles */
@ -495,6 +496,7 @@ static void scale_draw_indicator(lv_obj_t * obj, lv_event_t * event)
else {
scale_set_line_properties(obj, &minor_tick_dsc, section->items_style, LV_PART_ITEMS);
}
break;
}
else {
/* Tick is not in section, get the proper styles */