1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(msgbox) use the animation time provided

Fixes #2008
This commit is contained in:
embeddedt 2021-01-09 15:25:07 -05:00 committed by GitHub
parent 7d3a6c8de4
commit c988b68605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;