mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Menu now closes when clicking
This commit is contained in:
parent
b980431aed
commit
13d49e6b5f
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user