From c89b92d9bb03a607704cd1ccf45d34a8b9001f1a Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 11 Oct 2018 17:02:17 +0900 Subject: [PATCH] Make setMode false on mark is set --- src/content/reducers/mark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reducers/mark.js b/src/content/reducers/mark.js index 700c03f..b6137f3 100644 --- a/src/content/reducers/mark.js +++ b/src/content/reducers/mark.js @@ -17,7 +17,7 @@ export default function reducer(state = defaultState, action = {}) { case actions.MARK_SET_LOCAL: { let marks = { ...state.marks }; marks[action.key] = { y: action.y }; - return { ...state, marks }; + return { ...state, setMode: false, marks }; } default: return state;