listing/compact: Fix off-by-one error in area calculation
parent
9d7e877510
commit
5a9f63c51e
|
@ -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…
Reference in New Issue