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);
|
||||
}
|
||||
|
||||
pub fn get_current_route(&'a self) -> &'a Route {
|
||||
pub fn get_current_route(&self) -> &Route {
|
||||
self.navigation_stack.last().unwrap_or(&DEFAULT_ROUTE)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,8 @@ fn draw_edit_collection_confirmation_prompt<B: Backend>(
|
||||
.collections
|
||||
.current_selection()
|
||||
.title
|
||||
.to_string(),
|
||||
.text
|
||||
.clone(),
|
||||
app
|
||||
.data
|
||||
.radarr_data
|
||||
@@ -110,7 +111,8 @@ fn draw_edit_collection_confirmation_prompt<B: Backend>(
|
||||
.filtered_collections
|
||||
.current_selection()
|
||||
.title
|
||||
.to_string(),
|
||||
.text
|
||||
.clone(),
|
||||
app
|
||||
.data
|
||||
.radarr_data
|
||||
|
||||
@@ -87,7 +87,8 @@ fn draw_edit_movie_confirmation_prompt<B: Backend>(
|
||||
.movies
|
||||
.current_selection()
|
||||
.title
|
||||
.to_string(),
|
||||
.text
|
||||
.clone(),
|
||||
app
|
||||
.data
|
||||
.radarr_data
|
||||
@@ -104,7 +105,8 @@ fn draw_edit_movie_confirmation_prompt<B: Backend>(
|
||||
.filtered_movies
|
||||
.current_selection()
|
||||
.title
|
||||
.to_string(),
|
||||
.text
|
||||
.clone(),
|
||||
app
|
||||
.data
|
||||
.radarr_data
|
||||
|
||||
Reference in New Issue
Block a user