mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-03-08 06:12:57 +00:00
progress
This commit is contained in:
@@ -165,6 +165,9 @@ export class RoutingControls {
|
||||
});
|
||||
marker.getElement().addEventListener('click', (e) => {
|
||||
e.stopPropagation();
|
||||
if (marker === this.temporaryAnchor.marker) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Date.now() - lastDragEvent < 100) { // Prevent click event during drag
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user