Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ActiveChooN committed Mar 6, 2020
1 parent 5c009f5 commit 4746574
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions cvat-ui/src/reducers/annotation-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,30 +422,6 @@ export default (state = defaultState, action: AnyAction): AnnotationState => {
},
};
}
case AnnotationActionTypes.SETUP_TAG: {
const {
labelID,
objectType,
activeControl,
} = action.payload;

return {
...state,
annotations: {
...state.annotations,
activatedStateID: null,
},
canvas: {
...state.canvas,
activeControl,
},
drawing: {
...defaultState.drawing,
activeLabelID: labelID,
activeObjectType: objectType,
},
};
}
case AnnotationActionTypes.REPEAT_DRAW_SHAPE: {
const { activeControl } = action.payload;

Expand Down

0 comments on commit 4746574

Please sign in to comment.