merge fix

main
Dmitry Kalinin 6 years ago
parent 5c009f5d88
commit 4746574ff1

@ -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;

Loading…
Cancel
Save