From 4746574ff197cd265a3b1cc904bf8a99e13ecf59 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinin Date: Fri, 6 Mar 2020 16:48:57 +0300 Subject: [PATCH] merge fix --- cvat-ui/src/reducers/annotation-reducer.ts | 24 ---------------------- 1 file changed, 24 deletions(-) diff --git a/cvat-ui/src/reducers/annotation-reducer.ts b/cvat-ui/src/reducers/annotation-reducer.ts index fb4669c8..d5de5f60 100644 --- a/cvat-ui/src/reducers/annotation-reducer.ts +++ b/cvat-ui/src/reducers/annotation-reducer.ts @@ -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;