Menu now closes when clicking

This commit is contained in:
Pax1601 2023-03-24 09:13:35 +01:00
parent b980431aed
commit 13d49e6b5f

View File

@ -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();
}