From ca1a6722c346acc3e69f629e53d28a36301e2445 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 28 Apr 2023 10:37:06 +0200 Subject: [PATCH] fix(style): fix trasition on bg_grad color fixes: #4174 --- src/core/lv_obj_style.c | 1 + 1 file changed, 1 insertion(+) 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: