renamed indev_obj_focused to indev_obj_act. Improved related documentation/formatting

This commit is contained in:
Brian Pugh
2019-05-20 09:42:31 -07:00
parent 7bbe91512a
commit 9b38d455ab
3 changed files with 47 additions and 42 deletions

View File

@@ -427,7 +427,7 @@ lv_res_t lv_obj_del(lv_obj_t * obj)
}
#if LV_USE_GROUP
if(indev->group == group && obj == lv_indev_get_obj_focused() ) {
if(indev->group == group && obj == lv_indev_get_obj_act() ) {
lv_indev_reset(indev);
}
#endif
@@ -2230,7 +2230,7 @@ static void delete_children(lv_obj_t * obj)
indev->proc.types.pointer.last_pressed = NULL;
}
#if LV_USE_GROUP
if(indev->group == group && obj == lv_indev_get_obj_focused() ) {
if(indev->group == group && obj == lv_indev_get_obj_act() ) {
lv_indev_reset(indev);
}
#endif