From 8273499a8c1484e5cb03bbb231a09718a86e993d Mon Sep 17 00:00:00 2001 From: CrogST <50702589+CrogST@users.noreply.github.com> Date: Thu, 16 May 2019 14:30:54 +0300 Subject: [PATCH] Error in lv_list_get_style function SB and SCRL styles were mixed up. Let me now if it is ok. --- lv_objx/lv_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lv_objx/lv_list.c b/lv_objx/lv_list.c index 2bddf332b..5d5dbf087 100644 --- a/lv_objx/lv_list.c +++ b/lv_objx/lv_list.c @@ -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);