fix typo
This commit is contained in:
@@ -604,7 +604,7 @@ void lv_dropdown_open(lv_obj_t * ddlist)
|
||||
lv_obj_set_design_cb(ext->page, lv_dropdown_page_design);
|
||||
lv_obj_set_signal_cb(ext->page, lv_dropdown_page_signal);
|
||||
lv_obj_set_signal_cb(lv_page_get_scrllable(ext->page), lv_dropdown_page_scrl_signal);
|
||||
lv_page_set_scrollbar_mode(ext->page, LV_SCRILLBAR_MODE_ON);
|
||||
lv_page_set_scrollbar_mode(ext->page, LV_SCROLLBAR_MODE_AUTO);
|
||||
|
||||
lv_style_list_copy(lv_obj_get_style_list(ext->page, LV_PAGE_PART_BG), &ext->style_page);
|
||||
lv_style_list_copy(lv_obj_get_style_list(ext->page, LV_PAGE_PART_SCROLLBAR), &ext->style_scrlbar);
|
||||
|
||||
@@ -1211,7 +1211,7 @@ static void scrlbar_refresh(lv_obj_t * page)
|
||||
|
||||
if(ext->scrlbar.mode == LV_SCROLLBAR_MODE_OFF) return;
|
||||
|
||||
if(ext->scrlbar.mode == LV_SCRILLBAR_MODE_ON) {
|
||||
if(ext->scrlbar.mode == LV_SCROLLBAR_MODE_ON) {
|
||||
ext->scrlbar.hor_draw = 1;
|
||||
ext->scrlbar.ver_draw = 1;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ extern "C" {
|
||||
/** Scrollbar modes: shows when should the scrollbars be visible*/
|
||||
enum {
|
||||
LV_SCROLLBAR_MODE_OFF = 0x0, /**< Never show scroll bars*/
|
||||
LV_SCRILLBAR_MODE_ON = 0x1, /**< Always show scroll bars*/
|
||||
LV_SCROLLBAR_MODE_ON = 0x1, /**< Always show scroll bars*/
|
||||
LV_SCROLLBAR_MODE_DRAG = 0x2, /**< Show scroll bars when page is being dragged*/
|
||||
LV_SCROLLBAR_MODE_AUTO = 0x3, /**< Show scroll bars when the scrollable container is large enough to be scrolled*/
|
||||
LV_SCROLLBAR_MODE_HIDE = 0x4, /**< Hide the scroll bar temporally*/
|
||||
|
||||
Reference in New Issue
Block a user