From 2abf55f4c4f6cc0a92bde090004bec68bc3e5c13 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 18 Apr 2019 10:46:16 -0700 Subject: [PATCH] ddlist: fix animation complete not always clearing selection highlight --- src/lv_objx/lv_ddlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_objx/lv_ddlist.c b/src/lv_objx/lv_ddlist.c index 811108a6c..e6a3096d7 100644 --- a/src/lv_objx/lv_ddlist.c +++ b/src/lv_objx/lv_ddlist.c @@ -916,6 +916,7 @@ static void lv_ddlist_pos_current_option(lv_obj_t * ddlist) ext->label->coords.y1 - scrl->coords.y1; lv_obj_set_y(scrl, -line_y1 + (h - font_h) / 2); + lv_obj_invalidate(ddlist); } #endif