Closed partisaani closed 6 years ago
I remember having this problem with an old version of leaflet & leaflet.draw, I wish I could remember what I did to fix it...
I fix it by replacing images in node_modules/leaflet-draw/dist/images folder by new images in here https://github.com/Leaflet/Leaflet.draw/tree/master/src/images
The same happened to me
I'm using Leaflet version I'm using: 1.2.0 Leaflet Draw version I'm using: 0.4.11 Browser (with version) I'm using: Chrome in Ubuntu
have the same problem
Hmm, @vutrungduc7593 's fix worked for me... but that means that the version of the images in github's "Releases" => dist/images/*
are incorrect.
On my machine it's working on version 0.4.13. The only thing I needed to do is refreshing the spreadsheet image because it was cached on my local server.
As i said in #814 a new release is needed to fix the bug.
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
Icons on the draw toolbar are misaligned, they should be centered in their boxes
Minimal example reproducing the issue
Using jsfiddle