minor theme updates

This commit is contained in:
Gabor Kiss-Vamosi
2019-06-26 17:51:14 +02:00
parent e1a4590fe3
commit e1989c5706
11 changed files with 71 additions and 9 deletions

View File

@@ -174,7 +174,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy)
/*Set the default styles*/
lv_theme_t * th = lv_theme_get_current();
if(th) {
new_obj->style_p = th->style.bg;
new_obj->style_p = th->style.scr;
} else {
new_obj->style_p = &lv_style_scr;
}