diff --git a/src/main.rs b/src/main.rs index 5b1b407..3b7afde 100644 --- a/src/main.rs +++ b/src/main.rs @@ -303,13 +303,20 @@ fn gen_svg() -> Document { let nighttime_path = get_range_path(image_width, marker_radius, "night-time", dawn, dusk); + let marker_circle = Circle::new() + .set("class", "marker") + .set("cx", image_width / 2) + .set("cy", image_width / 2) + .set("r", marker_radius); + let day_parts_group = Group::new() .set("id", "day-parts") .add(daytime_circle) .add(golden_hour_path) .add(sun_disc) .add(blue_hour_path) - .add(nighttime_path); + .add(nighttime_path) + .add(marker_circle); let moon_circle = Circle::new() .set("class", "moon-background")