fix(theme) remove setting width and height in basic theme styles

This commit is contained in:
Gabor Kiss-Vamosi 2021-04-23 15:23:06 +02:00
parent 46a21485a5
commit ace2e6af68

View File

@ -100,8 +100,6 @@ static void style_init(void)
lv_style_set_line_color(&styles->light, COLOR_MID);
lv_style_set_arc_width(&styles->light, LV_DPX(2));
lv_style_set_arc_color(&styles->light, COLOR_MID);
lv_style_set_width(&styles->light, 100);
lv_style_set_height(&styles->light, 60);
style_init_reset(&styles->dark);
@ -115,8 +113,6 @@ static void style_init(void)
lv_style_set_line_color(&styles->dark, COLOR_DIM);
lv_style_set_arc_width(&styles->dark, LV_DPX(2));
lv_style_set_arc_color(&styles->dark, COLOR_DIM);
lv_style_set_width(&styles->dark, 100);
lv_style_set_height(&styles->dark, 60);
static lv_color_filter_dsc_t dark_filter;
lv_color_filter_dsc_init(&dark_filter, dark_color_filter_cb);