fix(benchmark): use assets only from its own folder (#6666)
This commit is contained in:
committed by
GitHub
parent
a7853fbe56
commit
f874ab3e9a
@@ -763,10 +763,10 @@ static lv_obj_t * card_create(void)
|
||||
lv_obj_set_size(panel, 270, 120);
|
||||
lv_obj_set_style_pad_all(panel, 8, 0);
|
||||
|
||||
LV_IMAGE_DECLARE(img_transform_avatar_15);
|
||||
LV_IMAGE_DECLARE(img_benchmark_avatar);
|
||||
lv_obj_t * child = lv_image_create(panel);
|
||||
lv_obj_align(child, LV_ALIGN_LEFT_MID, 0, 0);
|
||||
lv_image_set_src(child, &img_transform_avatar_15);
|
||||
lv_image_set_src(child, &img_benchmark_avatar);
|
||||
|
||||
child = lv_label_create(panel);
|
||||
lv_label_set_text(child, "John Smith");
|
||||
|
||||
Reference in New Issue
Block a user