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:
parent
537f1256c8
commit
d5cfd02def
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user