1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Merge pull request #1064 from CrogST/patch-1

Fix swapping of SB and SCRL styles in lv_list_get_style function
This commit is contained in:
embeddedt 2019-05-16 19:41:26 -04:00 committed by GitHub
commit 292ca72c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
break;
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;
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;
case LV_LIST_STYLE_EDGE_FLASH:
style = lv_page_get_style(list, LV_PAGE_STYLE_EDGE_FLASH);