vanvalenlab / deepcell-label

Cloud-based data annotation tools for biological images
https://label.deepcell.org
Other
73 stars 14 forks source link

Toggle logic breaks after undoing cell type deletion, for example #427

Open ykevu opened 1 year ago

ykevu commented 1 year ago

Describe the bug Deleting a cell type and then undoing the deletion can break the toggle checkboxes

ykevu commented 1 year ago

Deleting cell types in general can seem to trigger this behavior

ykevu commented 1 year ago

Doing toggles in add mode can also break this, since it updates the toggle state in the components but not in the state machine

ykevu commented 1 year ago

Some of this will be fixed with #473 , but the UNDO issue and the add mode issue will still need to be fixed.