Skip to content

Commit

Permalink
fix(find_file): fix popup position
Browse files Browse the repository at this point in the history
  • Loading branch information
metiftikci committed Oct 21, 2023
1 parent 53d431a commit be53974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/find_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit be53974

Please sign in to comment.