fix(tui): fix popup dimensions

This commit is contained in:
72-S committed 2025-04-26 16:47:12 +02:00
1 parent 9192089ad3
commit 03c87a8df0
4 files changed
+1430 -161

No files matched your search

+4 -4
View File
@@ -174,10 +174,10 @@ pub fn render(frame: &mut Frame, area: Rect, focused: FocusedArea, state: &mut S
if state.show_popup {
let popup_area = Rect {
x: area.width / 4,
y: area.height / 3,
width: area.width / 2,
height: area.height / 3,
x: frame.area().width / 4,
y: frame.area().height / 3,
width: frame.area().width / 2,
height: frame.area().height / 3,
};
popups::new_instance::render(frame, popup_area, focused);
}