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

chart: fix clipped first point

This commit is contained in:
Gabor Kiss-Vamosi 2020-02-27 06:42:08 +01:00
parent 1239e415ad
commit 0e934e74fd

View File

@ -883,7 +883,7 @@ static void draw_series_line(lv_obj_t * chart, const lv_area_t * series_area, co
if(ser->points[p_act] != LV_CHART_POINT_DEF) {
/*Don't limit to `series_mask` to get full circles on the ends*/
lv_draw_rect(&point_area, &series_mask, &point_dsc);
lv_draw_rect(&point_area, clip_area, &point_dsc);
}
}