Browse Source

view/thread: clear empty space in draw_list

jmap-eventsource
Manos Pitsidianakis 1 year ago
parent
commit
458209b448
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 10
      src/components/mail/view/thread.rs

10
src/components/mail/view/thread.rs

@ -577,6 +577,16 @@ impl ThreadView {
visibles.len(),
);
}
if top_idx + rows > visibles.len() {
clear_area(
grid,
(
pos_inc(upper_left, (0, 2 * (visibles.len() - top_idx))),
bottom_right,
),
crate::conf::value(context, "theme_default"),
);
}
self.dirty = false;
context.dirty_areas.push_back(area);
} else {

Loading…
Cancel
Save