draw shadow fix (line_2d_blur was overindexed)

This commit is contained in:
Gabor Kiss-Vamosi
2018-07-18 23:45:00 +02:00
parent 8005f1bb28
commit 8b70eccca6

View File

@@ -1352,7 +1352,7 @@ static void lv_draw_shadow_full_straight(const lv_area_t * coords, const lv_area
lv_opa_t opa_act; lv_opa_t opa_act;
int16_t d; int16_t d;
for(d = 1; d <= swidth; d++) { for(d = 1; d < swidth; d++) {
opa_act = map[d]; opa_act = map[d];
fill_fp(&right_area, mask, style->body.shadow.color, opa_act); fill_fp(&right_area, mask, style->body.shadow.color, opa_act);
right_area.x1++; right_area.x1++;
@@ -1371,6 +1371,8 @@ static void lv_draw_shadow_full_straight(const lv_area_t * coords, const lv_area
bottom_area.y2++; bottom_area.y2++;
} }
printf("\n");
} }
#endif #endif