1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Merge 416ef9e251d39dba291b86eab9ad7c1a22ff2e8d into dev

This commit is contained in:
github-actions[bot] 2020-07-09 12:42:08 +00:00 committed by GitHub
commit fd508065dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1505,6 +1505,9 @@ static void invalidate_lines(lv_obj_t * chart, uint16_t i)
lv_area_t coords;
lv_area_copy(&coords, &series_area);
coords.y1 -= line_width + point_radius;
coords.y2 += line_width + point_radius;
if(i < ext->point_cnt - 1) {
coords.x1 = ((w * i) / (ext->point_cnt - 1)) + x_ofs - line_width - point_radius;
coords.x2 = ((w * (i + 1)) / (ext->point_cnt - 1)) + x_ofs + line_width + point_radius;