arc and preload fixes

This commit is contained in:
Gabor Kiss-Vamosi
2018-09-20 22:14:48 +02:00
parent f7d8cfd5c8
commit f4ac890a3c
3 changed files with 21 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ lv_obj_t * lv_img_create(lv_obj_t * par, const lv_obj_t * copy)
* and must be screen sized*/
if(par != NULL) {
ext->auto_size = 1;
lv_obj_set_style(new_img, NULL); /*Inherit the style by default*/
lv_obj_set_style(new_img, &lv_style_plain); /*Inherit the style by default*/
} else {
ext->auto_size = 0;
lv_obj_set_style(new_img, &lv_style_plain); /*Set a style for screens*/