Browse Source

listing/compact: Fix off-by-one error in area calculation

master
Manos Pitsidianakis 8 months ago
parent
commit
5a9f63c51e
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 2
      src/components/mail/listing/compact.rs

2
src/components/mail/listing/compact.rs

@ -753,7 +753,7 @@ impl ListingTrait for CompactListing {
if top_idx + rows > self.length {
clear_area(
grid,
(pos_inc(upper_left, (0, rows)), bottom_right),
(pos_inc(upper_left, (0, rows - 1)), bottom_right),
self.color_cache.theme_default,
);
}

Loading…
Cancel
Save