From ddfec3e2077b7abbe257d2698076e7933b510842 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Fri, 16 Oct 2020 15:46:21 +0300 Subject: [PATCH] listing: fix menu draw artifact --- src/components/mail/listing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mail/listing.rs b/src/components/mail/listing.rs index 0bfa28493..5dc8f9e10 100644 --- a/src/components/mail/listing.rs +++ b/src/components/mail/listing.rs @@ -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(_) => {}