change the second animation range
This commit is contained in:
@@ -96,7 +96,7 @@ lv_obj_t * lv_preload_create(lv_obj_t * par, const lv_obj_t * copy)
|
||||
lv_anim_t b;
|
||||
b.var = new_preload;
|
||||
b.start = ext->arc_length;
|
||||
b.end = 360;
|
||||
b.end = 360 - ext->arc_length;
|
||||
b.fp = (lv_anim_fp_t)lv_preload_set_arc_length;
|
||||
b.path = lv_anim_path_ease_in_out;
|
||||
b.end_cb = NULL;
|
||||
@@ -105,7 +105,7 @@ lv_obj_t * lv_preload_create(lv_obj_t * par, const lv_obj_t * copy)
|
||||
b.playback = 1;
|
||||
b.playback_pause = 0;
|
||||
b.repeat = 1;
|
||||
b.repeat_pause = 100;
|
||||
b.repeat_pause = 0;
|
||||
lv_anim_create(&b);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user