Merge b947465da1 into dev
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
- Adjust button matrix button width to include padding when spanning multiple units.
|
- Adjust button matrix button width to include padding when spanning multiple units.
|
||||||
- Add rounding to btnmatrix line height calculation
|
- Add rounding to btnmatrix line height calculation
|
||||||
- Add `decmopr_buf` to GC roots
|
- Add `decmopr_buf` to GC roots
|
||||||
|
- Fix divisioin by zero in draw_pattern (lv_draw_rect.c) if the image or letter is not found
|
||||||
|
|
||||||
## v7.4.0 (01.09.2020)
|
## v7.4.0 (01.09.2020)
|
||||||
|
|
||||||
|
|||||||
@@ -1229,6 +1229,9 @@ static void draw_pattern(const lv_area_t * coords, const lv_area_t * clip, const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Can't draw zero sized images*/
|
||||||
|
if(img_w == 0 || img_h == 0) return;
|
||||||
|
|
||||||
lv_area_t coords_tmp;
|
lv_area_t coords_tmp;
|
||||||
|
|
||||||
if(dsc->pattern_repeat) {
|
if(dsc->pattern_repeat) {
|
||||||
|
|||||||
Reference in New Issue
Block a user