Fixed a bug in the UI that would scroll text on edit window popups when it shouldn't
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ impl<'a> App<'a> {
|
|||||||
self.push_navigation_stack(route);
|
self.push_navigation_stack(route);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_current_route(&'a self) -> &'a Route {
|
pub fn get_current_route(&self) -> &Route {
|
||||||
self.navigation_stack.last().unwrap_or(&DEFAULT_ROUTE)
|
self.navigation_stack.last().unwrap_or(&DEFAULT_ROUTE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,7 +92,8 @@ fn draw_edit_collection_confirmation_prompt<B: Backend>(
|
|||||||
.collections
|
.collections
|
||||||
.current_selection()
|
.current_selection()
|
||||||
.title
|
.title
|
||||||
.to_string(),
|
.text
|
||||||
|
.clone(),
|
||||||
app
|
app
|
||||||
.data
|
.data
|
||||||
.radarr_data
|
.radarr_data
|
||||||
@@ -110,7 +111,8 @@ fn draw_edit_collection_confirmation_prompt<B: Backend>(
|
|||||||
.filtered_collections
|
.filtered_collections
|
||||||
.current_selection()
|
.current_selection()
|
||||||
.title
|
.title
|
||||||
.to_string(),
|
.text
|
||||||
|
.clone(),
|
||||||
app
|
app
|
||||||
.data
|
.data
|
||||||
.radarr_data
|
.radarr_data
|
||||||
|
|||||||
@@ -87,7 +87,8 @@ fn draw_edit_movie_confirmation_prompt<B: Backend>(
|
|||||||
.movies
|
.movies
|
||||||
.current_selection()
|
.current_selection()
|
||||||
.title
|
.title
|
||||||
.to_string(),
|
.text
|
||||||
|
.clone(),
|
||||||
app
|
app
|
||||||
.data
|
.data
|
||||||
.radarr_data
|
.radarr_data
|
||||||
@@ -104,7 +105,8 @@ fn draw_edit_movie_confirmation_prompt<B: Backend>(
|
|||||||
.filtered_movies
|
.filtered_movies
|
||||||
.current_selection()
|
.current_selection()
|
||||||
.title
|
.title
|
||||||
.to_string(),
|
.text
|
||||||
|
.clone(),
|
||||||
app
|
app
|
||||||
.data
|
.data
|
||||||
.radarr_data
|
.radarr_data
|
||||||
|
|||||||
Reference in New Issue
Block a user