fix(draw_rect):bottom border lost if enable clip_corner (#2742)
This commit is contained in:
@@ -1129,7 +1129,7 @@ void draw_border_generic(const lv_area_t * clip_area, const lv_area_t * outer_ar
|
||||
if(mask_any) {
|
||||
blend_area.x1 = draw_area.x1;
|
||||
blend_area.x2 = draw_area.x2;
|
||||
for(h = draw_area.y1; h < draw_area.y2; h++) {
|
||||
for(h = draw_area.y1; h <= draw_area.y2; h++) {
|
||||
if(!top_side && h < core_area.y1) continue;
|
||||
if(!bottom_side && h > core_area.y2) break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user