@searpent/react-image-annotate 2.0.26 → 2.0.27

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.
@@ -844,6 +844,8 @@ export default (function (state, action) {
844
844
  switch (state.mode.mode) {
845
845
  case "RESIZE_BOX":
846
846
  {
847
+ state = setIn(state, ["selectedTool"], 'select');
848
+
847
849
  if (state.mode.isNew) {
848
850
  if (Math.abs(state.mode.original.x - _x2) < 0.002 || Math.abs(state.mode.original.y - _y2) < 0.002) {
849
851
  return setIn(modifyRegion(state.mode.regionId, null), ["mode"], null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searpent/react-image-annotate",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "dependencies": {
5
5
  "@editorjs/editorjs": "^2.25.0",
6
6
  "@editorjs/paragraph": "^2.8.0",