mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
lv_indev fix
This commit is contained in:
parent
3a78360b62
commit
5afe9c119a
@ -878,6 +878,10 @@ static void indev_proc_release(lv_indev_proc_t * proc)
|
||||
|
||||
/*Handle click focus*/
|
||||
#if LV_USE_GROUP
|
||||
/* Edit mode is not used by POINTER devices.
|
||||
* So leave edit mode if the focused object is still `act_obj`*/
|
||||
lv_group_t * g = lv_obj_get_group(proc->types.pointer.act_obj);
|
||||
|
||||
/*Check, if the parent is in a group focus on it.*/
|
||||
if(lv_obj_is_protected(proc->types.pointer.act_obj, LV_PROTECT_CLICK_FOCUS) ==
|
||||
false) { /*Respect the click focus protection*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user