listing: fix menu draw artifact

jmap-eventsource
Manos Pitsidianakis 2020-10-16 15:46:21 +03:00
parent a702a04043
commit ddfec3e207
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

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(_) => {}