diff --git a/lv_conf_templ.h b/lv_conf_templ.h index f19cdc0569..9e71db0ec5 100644 --- a/lv_conf_templ.h +++ b/lv_conf_templ.h @@ -70,6 +70,7 @@ #define LV_COLOR_DEPTH 16 /*Color depth: 1/8/16/24*/ #define LV_COLOR_16_SWAP 0 /*Swap the 2 bytes of RGB565 color. Useful if the display has a 8 bit interface (e.g. SPI)*/ #define LV_COLOR_TRANSP LV_COLOR_LIME /*Images pixels with this color will not be drawn (with chroma keying)*/ +#define LV_COLOR_SCREEN_TRANSP 0 /*1: Enable screen transparency. Useful for OSD or other overlapping GUIs. Requires ARGB8888 colors*/ /*Text settings*/ #define LV_TXT_UTF8 1 /*Enable UTF-8 coded Unicode character usage */ diff --git a/lv_draw/lv_draw_arc.c b/lv_draw/lv_draw_arc.c index 30cee7c968..525e56b79b 100644 --- a/lv_draw/lv_draw_arc.c +++ b/lv_draw/lv_draw_arc.c @@ -62,7 +62,7 @@ void lv_draw_arc(lv_coord_t center_x, lv_coord_t center_y, uint16_t radius, cons lv_coord_t x_start[4]; lv_coord_t x_end[4]; - lv_color_t color = style->body.main_color; + lv_color_t color = style->line.color; lv_opa_t opa = opa_scale == LV_OPA_COVER ? style->body.opa : (uint16_t)((uint16_t) style->body.opa * opa_scale) >> 8;