diff --git a/src/lv_themes/lv_theme_mono.c b/src/lv_themes/lv_theme_mono.c index 6056097ec..54046fa37 100644 --- a/src/lv_themes/lv_theme_mono.c +++ b/src/lv_themes/lv_theme_mono.c @@ -76,14 +76,14 @@ static void basic_init(void) def.image.intense = LV_OPA_TRANSP; def.image.opa = LV_OPA_COVER; + lv_style_copy(&light_plain, &def); + lv_style_copy(&scr, &light_plain); scr.body.padding.bottom = 0; scr.body.padding.top = 0; scr.body.padding.left = 0; scr.body.padding.right = 0; - lv_style_copy(&light_plain, &def); - lv_style_copy(&light_frame, &light_plain); light_frame.body.radius = LV_DPI / 20;