mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
lv_page_focus: minor fix
This commit is contained in:
parent
e788907d9c
commit
2c4ea022b9
@ -409,8 +409,10 @@ void lv_page_focus(lv_obj_t * page, const lv_obj_t * obj, uint16_t anim_time)
|
|||||||
#else
|
#else
|
||||||
/* Be sure there is no position changing animation in progress
|
/* Be sure there is no position changing animation in progress
|
||||||
* because it can overide the current changes*/
|
* because it can overide the current changes*/
|
||||||
|
lv_anim_del(page, (lv_anim_fp_t)lv_obj_set_x);
|
||||||
lv_anim_del(page, (lv_anim_fp_t)lv_obj_set_y);
|
lv_anim_del(page, (lv_anim_fp_t)lv_obj_set_y);
|
||||||
lv_anim_del(page, (lv_anim_fp_t)lv_obj_set_pos);
|
lv_anim_del(page, (lv_anim_fp_t)lv_obj_set_pos);
|
||||||
|
lv_anim_del(ext->scrl, (lv_anim_fp_t)lv_obj_set_x);
|
||||||
lv_anim_del(ext->scrl, (lv_anim_fp_t)lv_obj_set_y);
|
lv_anim_del(ext->scrl, (lv_anim_fp_t)lv_obj_set_y);
|
||||||
lv_anim_del(ext->scrl, (lv_anim_fp_t)lv_obj_set_pos);
|
lv_anim_del(ext->scrl, (lv_anim_fp_t)lv_obj_set_pos);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user