Make sure we mark display regions for update when drawing images

This commit is contained in:
Kevin Lange 2016-09-26 10:58:01 +09:00
parent 715b39ae8e
commit 38e3741c66

View File

@ -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) {