1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

mono theme fix uninited styles

This commit is contained in:
Gabor Kiss-Vamosi 2019-11-16 11:36:06 +01:00
parent 537f1256c8
commit d5cfd02def

View File

@ -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;