fix lv_rfill screen sized area size
This commit is contained in:
@@ -79,7 +79,7 @@ void lv_rfill(const lv_area_t * cords_p, const lv_area_t * mask_p,
|
||||
union_ok = lv_area_union(&masked_area, cords_p, mask_p);
|
||||
} else {
|
||||
lv_area_t scr_area;
|
||||
lv_area_set(&scr_area, 0, 0, LV_HOR_RES - 1, LV_HOR_RES - 1);
|
||||
lv_area_set(&scr_area, 0, 0, LV_HOR_RES - 1, LV_VER_RES - 1);
|
||||
union_ok = lv_area_union(&masked_area, cords_p, &scr_area);
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,6 @@ static inline void lv_list_set_sb_mode(lv_obj_t * list, lv_sb_mode_t mode)
|
||||
lv_page_set_sb_mode(list, mode);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set a style of a list
|
||||
* @param list pointer to a list object
|
||||
|
||||
@@ -421,7 +421,6 @@ static void page_init(void)
|
||||
page_scrl.body.border.width = 1;
|
||||
page_scrl.body.radius = LV_DPI / 20;
|
||||
|
||||
|
||||
theme.page.bg = &panel;
|
||||
theme.page.scrl = &page_scrl;
|
||||
theme.page.sb = &sb;
|
||||
|
||||
Reference in New Issue
Block a user