How to remove mirroring of an icon

Description

how to remove mirroring of an icon, icon animated

Code to reproduce

lv_anim_t a;
            lv_anim_init(&a);
            lv_anim_set_var(&a, icon_anim);
            lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_obj_set_x);
            lv_anim_set_values(&a, lv_obj_get_x(icon_anim),
                               lv_obj_get_width(lv_scr_act()) - lv_obj_get_width(icon_anim) - 105);
            lv_anim_start(&a);

            lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_img_set_zoom);
            lv_anim_set_values(&a, 128, 2256);
            lv_anim_set_playback_time(&a, 2000);
            lv_anim_start(&a);

sreenshot
image
I apologize for the quality, but the picture shows that the picture starts to repeat itself from below

What do you want to achive?

I expressed myself incorrectly, my picture was repeated, I found a solution

1 Like