mapbox-gl-draw
mapbox-gl-draw copied to clipboard
Allow deleting the whole feature from direct_select
When no vertices are selected, trash deletes the whole feature.
I think this change would be great. It's not always immediately obvious to the user whether they're in direct or simple select mode, especially after just creating a shape. If no vertices are selected, it's pretty strange to just do nothing when hitting trash/delete.