diff --git a/client/src/map/map.ts b/client/src/map/map.ts index 5fd71279..626532d5 100644 --- a/client/src/map/map.ts +++ b/client/src/map/map.ts @@ -228,6 +228,7 @@ export class Map extends L.Map { #onMouseDown(e: any) { + this.hideAllContextMenus(); if ((e.originalEvent.which == 1) && (e.originalEvent.button == 0)) this.dragging.disable(); }