Skip to content

Commit

Permalink
external: leaflet.draw-src.js: workaround for Leaflet/Leaflet.draw#789
Browse files Browse the repository at this point in the history
…(Can only draw two-point polygons in Chrome w/ Touch)

Although the source of the issue is somewhere deeper, it seems that just
commenting out these 2 lines is enough to solve it.

I observe no functionality loss with this change, perhaps the code was redundant
for some unclear reason.

Adapted from Leaflet/Leaflet.draw#926
  • Loading branch information
johndoe committed May 9, 2019
1 parent 6ea92c6 commit 2d4a67d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/leaflet.draw-src.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d4a67d

Please sign in to comment.