Rename some code, to trigger a [rebuild] [release]

This commit is contained in:
Dustin Carlino 2022-03-06 17:41:09 +00:00
parent 9c9e10cc0f
commit d6d1bb581f
4 changed files with 5 additions and 3 deletions

View File

@ -130,7 +130,9 @@ impl State<App> for BrowseNeighborhoods {
return Transition::Push(crate::impact::ShowResults::new_state(ctx, app));
}
"Plan a route" => {
return Transition::Push(crate::pathfinding::RoutePlanner::new_state(ctx, app));
return Transition::Push(crate::route_planner::RoutePlanner::new_state(
ctx, app,
));
}
"Automatically place filters" => {
ctx.loading_screen("automatically filter all neighborhoods", |ctx, timer| {

View File

@ -24,10 +24,10 @@ mod filters;
mod impact;
mod neighborhood;
mod partition;
mod pathfinding;
mod per_neighborhood;
mod rat_run_viewer;
mod rat_runs;
mod route_planner;
mod save;
mod select_boundary;

View File

@ -287,7 +287,7 @@ impl PreserveState {
Transition::Replace(BrowseNeighborhoods::new_state(ctx, app))
}
PreserveState::Route => {
Transition::Replace(crate::pathfinding::RoutePlanner::new_state(ctx, app))
Transition::Replace(crate::route_planner::RoutePlanner::new_state(ctx, app))
}
PreserveState::PerNeighborhood(tab, blocks) => {
// Count which new neighborhoods have the blocks from the original. Pick the one