mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-25 02:33:51 +08:00
fix(scale): fix ITEM section styling
This commit is contained in:
parent
f7c25b7966
commit
7320d1aa21
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user