diff --git a/docs/TODO_quality.md b/docs/TODO_quality.md index 741a974a05..0fbbd16f58 100644 --- a/docs/TODO_quality.md +++ b/docs/TODO_quality.md @@ -13,6 +13,7 @@ - what's correct for 14th and e boston? if we had less lanes there, would it help? - make the polygons for the merged intersections look better + - the thick road bands for tiny roads totally vanish... is that good? - same for the sidewalk corners - make sure the turns are reasonable - apply the merge automatically somehow diff --git a/editor/src/render/intersection.rs b/editor/src/render/intersection.rs index f7eb9ec06d..40f56a869f 100644 --- a/editor/src/render/intersection.rs +++ b/editor/src/render/intersection.rs @@ -70,18 +70,21 @@ impl Renderable for DrawIntersection { ctx.canvas .draw_text_at(g, Text::from_line(format!("{}", idx + 1)), *pt); } - } else if ctx.canvas.cam_zoom >= MIN_ZOOM_FOR_MARKINGS || opts.show_all_detail { + } else { + // Always draw these; otherwise zooming in is very disconcerting. for corner in &self.sidewalk_corners { g.draw_polygon(opts.color.unwrap_or_else(|| ctx.cs.get("sidewalk")), corner); } - if self.intersection_type == IntersectionType::TrafficSignal { - if ctx.hints.suppress_traffic_signal_details != Some(self.id) { - self.draw_traffic_signal(g, ctx); - } - } else { - for crosswalk in &self.crosswalks { - crosswalk.draw(g, ctx.cs.get_def("crosswalk", Color::WHITE)); + if ctx.canvas.cam_zoom >= MIN_ZOOM_FOR_MARKINGS || opts.show_all_detail { + if self.intersection_type == IntersectionType::TrafficSignal { + if ctx.hints.suppress_traffic_signal_details != Some(self.id) { + self.draw_traffic_signal(g, ctx); + } + } else { + for crosswalk in &self.crosswalks { + crosswalk.draw(g, ctx.cs.get_def("crosswalk", Color::WHITE)); + } } } }