Release scroll wheel zoom on drop
This commit is contained in:
parent
eda14bd742
commit
c50e21e395
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ L.U.DropControl = L.Class.extend({
|
|||
},
|
||||
|
||||
drop: function (e) {
|
||||
this.map.scrollWheelZoom.enable()
|
||||
this.dropzone.classList.remove('umap-dragover')
|
||||
L.DomEvent.stop(e)
|
||||
for (let i = 0, file; (file = e.dataTransfer.files[i]); i++) {
|
||||
|
|
Loading…
Reference in a new issue