From 73c83cbd25b6d644c93f5dfb9cedbb36566c540f Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 14 Jun 2018 20:05:15 +0200 Subject: [PATCH] lv_ddlist: fix incorrect hegiht on style change --- lv_objx/lv_ddlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lv_objx/lv_ddlist.c b/lv_objx/lv_ddlist.c index fa48c3815..26e0a5578 100644 --- a/lv_objx/lv_ddlist.c +++ b/lv_objx/lv_ddlist.c @@ -681,6 +681,7 @@ static void lv_ddlist_refr_size(lv_obj_t * ddlist, bool anim_en) if(anim_en == 0) { lv_obj_set_height(ddlist, new_height); lv_ddlist_pos_current_option(ddlist); + lv_anim_del(ddlist, (lv_anim_fp_t)lv_obj_set_height); /*If an animation is in progress then it will overwrite this changes*/ } else { #if USE_LV_ANIMATION lv_anim_t a;