From 0e934e74fde42e37c8fd85f67e7faeef4a7b0806 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 27 Feb 2020 06:42:08 +0100 Subject: [PATCH] chart: fix clipped first point --- src/lv_widgets/lv_chart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_widgets/lv_chart.c b/src/lv_widgets/lv_chart.c index 447815ad4..f7da247b5 100644 --- a/src/lv_widgets/lv_chart.c +++ b/src/lv_widgets/lv_chart.c @@ -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); } }