mapbox-gl-draw icon indicating copy to clipboard operation
mapbox-gl-draw copied to clipboard

pointer style not not reset while drawing is not finished and deleteAll() is called

Open tibz7 opened this issue 3 years ago • 1 comments

mapbox-gl-js version: 1.13.1 mapbox-gl-draw version: 1.3

Steps to Trigger Behavior

  1. start drawing a line
  2. 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)

tibz7 avatar Feb 10 '22 14:02 tibz7

any workaround on this one ?

AbhishekD15 avatar Sep 06 '23 04:09 AbhishekD15