BigW Consortium Gitlab

Commit c05ebc07 by Gabor

dispi: if a drag can not move the object (e.g. layout) still consider it as drag (reverted)

parent e98aa0f6
......@@ -220,7 +220,7 @@ static void dispi_proc_press(lv_dispi_t * dispi_p)
pr_obj = dispi_search_obj(dispi_p, lv_scr_act());
}
/*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());
}
/*If a dragable object was the last then keep it*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment