diff --git a/src/draw/lv_draw_vector.c b/src/draw/lv_draw_vector.c index 854f1d6fd..d196d8532 100644 --- a/src/draw/lv_draw_vector.c +++ b/src/draw/lv_draw_vector.c @@ -523,11 +523,6 @@ void lv_vector_path_append_arc(lv_vector_path_t * path, const lv_fpoint_t * c, f start.x + cx, start.y + cy }); } - else { - lv_vector_path_move_to(path, &(lv_fpoint_t) { - start.x + cx, start.y + cy - }); - } for(int i = 0; i < n_curves; ++i) { float end_angle = start_angle + ((i != n_curves - 1) ? MATH_HALF_PI * sweep_sign : fract); diff --git a/tests/ref_imgs/draw/vector_draw_shapes.png b/tests/ref_imgs/draw/vector_draw_shapes.png index 82a5be3a6..78841c210 100644 Binary files a/tests/ref_imgs/draw/vector_draw_shapes.png and b/tests/ref_imgs/draw/vector_draw_shapes.png differ