mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
fixed marker hiding
This commit is contained in:
parent
bdbe28b854
commit
cb07aa9fb0
2 changed files with 11 additions and 8 deletions
|
@ -7,9 +7,6 @@ import { MainMap } from '~/constants/map';
|
|||
const createWaypointMarker = (): DomMarker => {
|
||||
const element = document.createElement('div');
|
||||
|
||||
element.addEventListener('mousedown', event => event.stopPropagation());
|
||||
element.addEventListener('mouseup', event => event.stopPropagation());
|
||||
|
||||
return new DomMarker({
|
||||
element,
|
||||
className: 'router-waypoint',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue