UniversalDataTool / universal-data-tool

Collaborate & label any type of data, images, text, or documents, in an easy web interface or desktop app.
https://universaldatatool.com
MIT License
1.92k stars 187 forks source link

[Bug] Final label on bounding box does not delete with "x" #524

Open jeremydouglass opened 2 years ago

jeremydouglass commented 2 years ago

The final label -- and only the final label -- on a segment cannot be deleted with its connected "x".

Steps to reproduce:

  1. create an Image Segmentation task with an image and bounding box, and two labels: "character" and "dialog"
  2. on the image, draw a bounding box.
  3. in the pop-up box, label with two labels
  4. delete one of the labels using the "x" connected to the label tag (not the dialog "X") -- either label.

It is deleted.

  1. try to delete the remaining label, also with the "x" connected to the label tag.

It is NOT deleted.

The final label -- and only the final label -- cannot be deleted with its connected "x".

NOTES: