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

pull/144/head
Manos Pitsidianakis 2020-11-24 11:08:48 +02:00
parent 9d7e877510
commit 5a9f63c51e
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -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,
);
}