From 2c4ea022b9e395b3ae1d8718349717f7f3808345 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Sun, 3 Mar 2019 04:28:54 +0100 Subject: [PATCH] lv_page_focus: minor fix --- lv_objx/lv_page.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lv_objx/lv_page.c b/lv_objx/lv_page.c index 6dcf30105..2b6247f6b 100644 --- a/lv_objx/lv_page.c +++ b/lv_objx/lv_page.c @@ -409,8 +409,10 @@ void lv_page_focus(lv_obj_t * page, const lv_obj_t * obj, uint16_t anim_time) #else /* Be sure there is no position changing animation in progress * 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_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_pos); #endif