@searpent/react-image-annotate 2.0.73 → 2.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -996,6 +996,7 @@ export default (function (state, action) {
|
|
|
996
996
|
case "DELETE_SELECTED_REGION":
|
|
997
997
|
{
|
|
998
998
|
state = saveToHistory(state, "Delete selected region");
|
|
999
|
+
state = addSaveableAction(state, "DELETE_SELECTED_REGION");
|
|
999
1000
|
return setIn(state, [].concat(_toConsumableArray(pathToActiveImage), ["regions"]), (activeImage.regions || []).filter(function (r) {
|
|
1000
1001
|
return !r.highlighted;
|
|
1001
1002
|
}));
|