mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-15 07:07:07 +00:00
Hovering a line in the routing tool shows a temporary anchor, which is drawn in the anchors' layer with the index one past the last anchor. Clicking it reached onClick, which looked that index up in the anchors, got undefined and threw reading its properties. The click now adds the anchor, as a click on the line does. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: vcoppe <vianney.coppe@gmail.com>