From cacc452fa129da2c563f5b7ebe20888f3e46051b Mon Sep 17 00:00:00 2001 From: Dark-Alex-17 Date: Tue, 8 Aug 2023 10:50:06 -0600 Subject: [PATCH] Fixed search and filter boxes to look better in 16:9 aspect ratios --- src/ui/radarr_ui/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/radarr_ui/mod.rs b/src/ui/radarr_ui/mod.rs index 5ef96e0..afac362 100644 --- a/src/ui/radarr_ui/mod.rs +++ b/src/ui/radarr_ui/mod.rs @@ -47,10 +47,10 @@ pub(super) fn draw_radarr_ui(f: &mut Frame<'_, B>, app: &mut App, ar match active_radarr_block { ActiveRadarrBlock::Movies => draw_library(f, app, content_rect), ActiveRadarrBlock::SearchMovie => { - draw_popup_over(f, app, content_rect, draw_library, draw_search_box, 30, 10) + draw_popup_over(f, app, content_rect, draw_library, draw_search_box, 30, 11) } ActiveRadarrBlock::FilterMovies => { - draw_popup_over(f, app, content_rect, draw_library, draw_filter_box, 30, 10) + draw_popup_over(f, app, content_rect, draw_library, draw_filter_box, 30, 11) } ActiveRadarrBlock::SearchCollection => draw_popup_over( f, @@ -59,7 +59,7 @@ pub(super) fn draw_radarr_ui(f: &mut Frame<'_, B>, app: &mut App, ar draw_collections, draw_search_box, 30, - 10, + 11, ), ActiveRadarrBlock::FilterCollections => draw_popup_over( f, @@ -68,7 +68,7 @@ pub(super) fn draw_radarr_ui(f: &mut Frame<'_, B>, app: &mut App, ar draw_collections, draw_filter_box, 30, - 10, + 11, ), ActiveRadarrBlock::Downloads => draw_downloads(f, app, content_rect), ActiveRadarrBlock::Collections => draw_collections(f, app, content_rect),