Fix too-quick push on last commit, and restore the draw streets toggle broken a few commits ago

This commit is contained in:
Dustin Carlino 2022-01-12 12:25:36 +00:00
parent 30fc96bdd0
commit c024a484e3
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ impl Heuristic {
match self {
Heuristic::Greedy => greedy(ctx, app, neighborhood, timer),
Heuristic::BruteForce => brute_force(ctx, app, neighborhood, timer),
Heuristic::OnlyOneBorder => only_one_border(app),
Heuristic::OnlyOneBorder => only_one_border(app, neighborhood),
}
}
}

View File

@ -107,7 +107,7 @@ impl State<App> for Viewer {
.unwrap();
}
Outcome::Changed(x) => {
if x == "draw cells" {
if x == "streets" || x == "areas" {
self.world = make_world(
ctx,
app,