From 945bafc65c82489854e4f16c04fb4872789152aa Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sat, 16 Jan 2021 21:43:58 +0100 Subject: [PATCH] Fix some font inconsistencies --- src/hasp/lv_theme_hasp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hasp/lv_theme_hasp.c b/src/hasp/lv_theme_hasp.c index 0069fbc2..5a736abe 100644 --- a/src/hasp/lv_theme_hasp.c +++ b/src/hasp/lv_theme_hasp.c @@ -245,7 +245,7 @@ static void basic_init(void) lv_style_set_scale_end_color(&styles->pretty, LV_STATE_DEFAULT, theme.color_primary); lv_style_set_text_color(&styles->pretty, LV_STATE_DEFAULT, COLOR_SCR_TEXT); - lv_style_set_text_font(&styles->pretty, LV_STATE_DEFAULT, theme.font_normal); + //lv_style_set_text_font(&styles->pretty, LV_STATE_DEFAULT, theme.font_normal); lv_style_set_value_color(&styles->pretty, LV_STATE_DEFAULT, COLOR_SCR_TEXT); lv_style_set_value_font(&styles->pretty, LV_STATE_DEFAULT, theme.font_subtitle); @@ -275,7 +275,7 @@ static void basic_init(void) lv_style_set_scale_end_color(&styles->pretty_color, LV_STATE_DEFAULT, theme.color_primary); lv_style_set_text_color(&styles->pretty_color, LV_STATE_DEFAULT, COLOR_SCR_TEXT); lv_style_set_line_color(&styles->pretty_color, LV_STATE_DEFAULT, lv_color_make(0x20, 0x20, 0x20)); - lv_style_set_text_font(&styles->pretty_color, LV_STATE_DEFAULT, theme.font_normal); + //lv_style_set_text_font(&styles->pretty_color, LV_STATE_DEFAULT, theme.font_normal); lv_style_set_value_font(&styles->pretty_color, LV_STATE_DEFAULT, theme.font_subtitle); lv_style_set_value_color(&styles->pretty_color, LV_STATE_DEFAULT, COLOR_SCR_TEXT);