1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(refr): fix area size in partial mode (again)

This commit is contained in:
Gabor Kiss-Vamosi 2023-08-03 23:53:41 +02:00
parent e3c435860d
commit e48b8fe784

View File

@ -565,8 +565,8 @@ static void refr_area(const lv_area_t * area_p)
layer->draw_buf.buf = disp_refr->buf_act;
layer->draw_buf.width = lv_area_get_width(&sub_area);
layer->draw_buf.height = lv_area_get_height(&sub_area);
layer->draw_buf_ofs.x = area_p->x1;
layer->draw_buf_ofs.y = area_p->y1;
layer->draw_buf_ofs.x = sub_area.x1;
layer->draw_buf_ofs.y = sub_area.y1;
layer->clip_area = sub_area;
disp_refr->last_part = 1;
refr_area_part(layer);