mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
lv_img: add log
This commit is contained in:
parent
92acc6d991
commit
60231ca8d9
@ -279,6 +279,7 @@ static bool lv_img_design(lv_obj_t * img, const lv_area_t * mask, lv_design_mode
|
||||
lv_draw_label(&coords, mask, style, opa_scale, ext->src, LV_TXT_FLAG_NONE, NULL);
|
||||
} else {
|
||||
/*Trigger the error handler of image drawer*/
|
||||
LV_LOG_WARN("Image source type is unknown in lv_img_design");
|
||||
lv_draw_img(&img->coords, mask, NULL, style, opa_scale);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user