mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
Error in lv_list_get_style function
SB and SCRL styles were mixed up. Let me now if it is ok.
This commit is contained in:
parent
c8d1413ece
commit
8273499a8c
@ -591,10 +591,10 @@ lv_style_t * lv_list_get_style(const lv_obj_t * list, lv_list_style_t type)
|
|||||||
style = lv_page_get_style(list, LV_PAGE_STYLE_BG);
|
style = lv_page_get_style(list, LV_PAGE_STYLE_BG);
|
||||||
break;
|
break;
|
||||||
case LV_LIST_STYLE_SCRL:
|
case LV_LIST_STYLE_SCRL:
|
||||||
style = lv_page_get_style(list, LV_PAGE_STYLE_SB);
|
style = lv_page_get_style(list, LV_PAGE_STYLE_SCRL);
|
||||||
break;
|
break;
|
||||||
case LV_LIST_STYLE_SB:
|
case LV_LIST_STYLE_SB:
|
||||||
style = lv_page_get_style(list, LV_PAGE_STYLE_SCRL);
|
style = lv_page_get_style(list, LV_PAGE_STYLE_SB);
|
||||||
break;
|
break;
|
||||||
case LV_LIST_STYLE_EDGE_FLASH:
|
case LV_LIST_STYLE_EDGE_FLASH:
|
||||||
style = lv_page_get_style(list, LV_PAGE_STYLE_EDGE_FLASH);
|
style = lv_page_get_style(list, LV_PAGE_STYLE_EDGE_FLASH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user