Fixed a bug in the UI that would scroll text on edit window popups when it shouldn't

This commit is contained in:
2023-08-08 10:50:07 -06:00
parent 653c7274b0
commit d32f2b538d
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -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)
}
}