dispi: if a drag can not move the object (e.g. layout) still consider it as drag (reverted)
This commit is contained in:
@@ -220,7 +220,7 @@ static void dispi_proc_press(lv_dispi_t * dispi_p)
|
|||||||
pr_obj = dispi_search_obj(dispi_p, lv_scr_act());
|
pr_obj = dispi_search_obj(dispi_p, lv_scr_act());
|
||||||
}
|
}
|
||||||
/*If there is last object but it can not be dragged also search*/
|
/*If there is last object but it can not be dragged also search*/
|
||||||
else if(dispi_p->drag_in_prog == 0) {/*Now act_obj != NULL*/
|
else if(dispi_p->drag_range_out == 0) {/*Now act_obj != NULL*/
|
||||||
pr_obj = dispi_search_obj(dispi_p, lv_scr_act());
|
pr_obj = dispi_search_obj(dispi_p, lv_scr_act());
|
||||||
}
|
}
|
||||||
/*If a dragable object was the last then keep it*/
|
/*If a dragable object was the last then keep it*/
|
||||||
|
|||||||
Reference in New Issue
Block a user