diff --git a/website/src/lib/components/toolbar/tools/routing/routing-controls.ts b/website/src/lib/components/toolbar/tools/routing/routing-controls.ts index 3acebbb1a..662b3bd7f 100644 --- a/website/src/lib/components/toolbar/tools/routing/routing-controls.ts +++ b/website/src/lib/components/toolbar/tools/routing/routing-controls.ts @@ -633,6 +633,11 @@ export class RoutingControls { const anchor = this.anchors[e.features![0].properties.anchorIndex]; if (!anchor) { + // The temporary anchor on the line is not one of the anchors (nor is a feature + // still rendered from before they were rebuilt), a click on it adds it + if (e.type === 'click') { + this.addIntermediateAnchor(e); + } return; } if (e.originalEvent.shiftKey) {