diff --git a/lv_draw/lv_draw.c b/lv_draw/lv_draw.c index aadaa93f6..64e0bb764 100644 --- a/lv_draw/lv_draw.c +++ b/lv_draw/lv_draw.c @@ -2023,7 +2023,7 @@ static void lv_draw_shadow_full_straight(const lv_area_t * coords, const lv_area lv_opa_t opa_act; int16_t d; - for(d = 1; d <= swidth; d++) { + for(d = 1; d < swidth; d++) { opa_act = map[d]; fill_fp(&right_area, mask, style->body.shadow.color, opa_act); right_area.x1++;