From be53974012854839c6d0a19695f993c9f4c1d6c6 Mon Sep 17 00:00:00 2001 From: metiftikci Date: Sat, 21 Oct 2023 20:55:03 +0300 Subject: [PATCH] fix(find_file): fix popup position --- src/commands/find_file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/find_file.rs b/src/commands/find_file.rs index d158024..99e526f 100644 --- a/src/commands/find_file.rs +++ b/src/commands/find_file.rs @@ -11,11 +11,11 @@ impl FindFileCommand { x: 10, y: 10, width: buffer.area.width - 20, - height: buffer.area.height - 22, + height: buffer.area.height - 20, }); let mut textbox_popup = Buffer::new(Rectangle { x: files_popup.area.x, - y: files_popup.area.y + files_popup.area.height + 2, + y: files_popup.area.y + files_popup.area.height + 1, width: files_popup.area.width, height: 1, });