Merge branch 'master' of https://github.com/littlevgl/lvgl
This commit is contained in:
@@ -807,6 +807,10 @@ static lv_res_t release_handler(lv_obj_t * ddlist)
|
||||
{
|
||||
lv_ddlist_ext_t * ext = lv_obj_get_ext_attr(ddlist);
|
||||
|
||||
/*Only deal with clickable drop down lists*/
|
||||
if(!lv_obj_get_click(ddlist))
|
||||
return LV_RES_OK;
|
||||
|
||||
if(ext->opened == 0) { /*Open the list*/
|
||||
ext->opened = 1;
|
||||
lv_obj_set_drag(lv_page_get_scrl(ddlist), true);
|
||||
|
||||
Reference in New Issue
Block a user