mapbox-gl-draw
mapbox-gl-draw copied to clipboard
pointer style not not reset while drawing is not finished and deleteAll() is called
mapbox-gl-js version: 1.13.1 mapbox-gl-draw version: 1.3
Steps to Trigger Behavior
- start drawing a line
- click on a button that calls draw.deleteAll())
Expected Behavior
cursor reset to its previous style
Actual Behavior
it stays as a crosshair. it works if the draw is finished ( double click on the last point of the line to finish the drawing)
any workaround on this one ?