Make setMode false on mark is set
This commit is contained in:
parent
76a2250291
commit
c89b92d9bb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export default function reducer(state = defaultState, action = {}) {
|
||||||
case actions.MARK_SET_LOCAL: {
|
case actions.MARK_SET_LOCAL: {
|
||||||
let marks = { ...state.marks };
|
let marks = { ...state.marks };
|
||||||
marks[action.key] = { y: action.y };
|
marks[action.key] = { y: action.y };
|
||||||
return { ...state, marks };
|
return { ...state, setMode: false, marks };
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return state;
|
return state;
|
||||||
|
|
Reference in a new issue