fix(refr): use of color struct with LV_USE_REFR_DEBUG

This commit is contained in:
Gabor Kiss-Vamosi 2023-03-23 00:25:42 +01:00
parent a6880eb825
commit 7efd153402

View File

@ -150,7 +150,7 @@ void lv_obj_redraw(lv_draw_ctx_t * draw_ctx, lv_obj_t * obj)
lv_color_t debug_color = lv_color_make(lv_rand(0, 0xFF), lv_rand(0, 0xFF), lv_rand(0, 0xFF));
lv_draw_rect_dsc_t draw_dsc;
lv_draw_rect_dsc_init(&draw_dsc);
draw_dsc.bg_color.full = debug_color.full;
draw_dsc.bg_color = debug_color;
draw_dsc.bg_opa = LV_OPA_20;
draw_dsc.border_width = 1;
draw_dsc.border_opa = LV_OPA_30;