listing: fix menu draw artifact

This commit is contained in:
Manos Pitsidianakis 2020-10-16 15:46:21 +03:00
parent a702a04043
commit ddfec3e207
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

View File

@ -555,7 +555,7 @@ impl Component for Listing {
} else if right_component_width == 0 {
self.draw_menu(grid, area, context);
} else {
self.draw_menu(grid, (upper_left, (mid, get_y(bottom_right))), context);
self.draw_menu(grid, (upper_left, (mid + 1, get_y(bottom_right))), context);
if context.is_online(account_hash).is_err() {
match self.component {
ListingComponent::Offline(_) => {}