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

pull/144/head
Manos Pitsidianakis 4 years ago
parent 9d7e877510
commit 5a9f63c51e
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

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