diff --git a/index.html b/index.html index 547886f..9985f05 100644 --- a/index.html +++ b/index.html @@ -2516,9 +2516,8 @@ // Global Map Click for generous vertex insertion ("Click anywhere near the line") const handleVertexInsertion = (e) => { if (state.isMeasuring) return; - - // Allow native drawing to process if we are currently drawing forward and click far away, - // but we still want to be able to insert points during drawing if we click an existing segment. + // VERY IMPORTANT: Don't interfere if we are actively drawing a path + if (map.editTools && map.editTools.drawing()) return; const variant = state.variants.find(v => v.active); if (!variant) return;