Road labels don't need to be shown zoomed-in for LTN
@@ -100,9 +100,11 @@ impl State<App> for BrowseNeighborhoods {
fn draw(&self, g: &mut GfxCtx, app: &App) {
self.panel.draw(g);
self.world.draw(g);
+ if g.canvas.is_unzoomed() {
self.labels.draw(g, app);
}
}
+}
fn detect_neighborhoods(
ctx: &mut EventCtx,
