From c988b686053d2284a0368ab1d7c6e6906086e25d Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Sat, 9 Jan 2021 15:25:07 -0500 Subject: [PATCH] fix(msgbox) use the animation time provided Fixes #2008 --- src/lv_widgets/lv_msgbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lv_widgets/lv_msgbox.c b/src/lv_widgets/lv_msgbox.c index daf5758d4..203c8d007 100644 --- a/src/lv_widgets/lv_msgbox.c +++ b/src/lv_widgets/lv_msgbox.c @@ -241,7 +241,6 @@ void lv_msgbox_set_anim_time(lv_obj_t * mbox, uint16_t anim_time) #if LV_USE_ANIMATION lv_msgbox_ext_t * ext = lv_obj_get_ext_attr(mbox); - anim_time = 0; ext->anim_time = anim_time; #else (void)mbox;