refactor(image): rename align to inner_align (#5560)

This commit is contained in:
Gabor Kiss-Vamosi
2024-02-02 19:25:20 +01:00
committed by GitHub
parent 5dc2f7e1cc
commit 8754d4d8be
9 changed files with 75 additions and 26 deletions

View File

@@ -78,7 +78,7 @@ static void moving_wallpaper_cb(void)
lv_obj_t * img = lv_img_create(lv_screen_active());
lv_obj_set_size(img, lv_pct(150), lv_pct(150));
lv_image_set_src(img, &img_benchmark_cogwheel_rgb);
lv_image_set_align(img, LV_IMAGE_ALIGN_TILE);
lv_image_set_inner_align(img, LV_IMAGE_ALIGN_TILE);
shake_anim(img, - lv_display_get_vertical_resolution(NULL) / 3);
}