Make sure we mark display regions for update when drawing images
This commit is contained in:
parent
715b39ae8e
commit
38e3741c66
@ -410,6 +410,10 @@ static void redraw_cell_image(uint16_t x, uint16_t y, term_cell_t * cell) {
|
||||
data++;
|
||||
}
|
||||
}
|
||||
l_x = min(l_x, decor_left_width + x);
|
||||
l_y = min(l_y, decor_top_height + y);
|
||||
r_x = max(r_x, decor_left_width + x + char_width);
|
||||
r_y = max(r_y, decor_top_height + y + char_height);
|
||||
}
|
||||
|
||||
static void cell_redraw(uint16_t x, uint16_t y) {
|
||||
|
Loading…
Reference in New Issue
Block a user