mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-23 17:07:12 +03:00
Fix too-quick push on last commit, and restore the draw streets toggle broken a few commits ago
This commit is contained in:
parent
30fc96bdd0
commit
c024a484e3
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user