brunob / leaflet.fullscreen

Leaflet.Control.FullScreen for Leaflet
https://brunob.github.io/leaflet.fullscreen/
MIT License
376 stars 107 forks source link

disableClickPropagation #100

Closed velocat closed 2 years ago

velocat commented 2 years ago

If there is some event, for example, when editing a track on the map - adding a point, then when editing mode is enabled, when clicking on the full-screen button, a new point will be added in the place of this button. This fixes it.

The application code is also slightly simplified: L.Dom Event.stop

brunob commented 2 years ago

Nice catch, thx a lot :)