diff --git a/src/core/lv_obj_style.c b/src/core/lv_obj_style.c index 07f51217d..fd7872454 100644 --- a/src/core/lv_obj_style.c +++ b/src/core/lv_obj_style.c @@ -811,6 +811,7 @@ static void trans_anim_cb(void * _tr, int32_t v) else value_final.ptr = tr->end_value.ptr; break; case LV_STYLE_BG_COLOR: + case LV_STYLE_BG_GRAD_COLOR: case LV_STYLE_BORDER_COLOR: case LV_STYLE_TEXT_COLOR: case LV_STYLE_SHADOW_COLOR: