diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-11 17:02:17 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-11 17:33:26 +0900 |
commit | c89b92d9bb03a607704cd1ccf45d34a8b9001f1a (patch) | |
tree | d131f4ba194667bac6f58f8daddc9a32a12e08fa /src/content/reducers/mark.js | |
parent | 76a2250291ba1fd7c07b85a229055025c051ddcf (diff) |
Make setMode false on mark is set
Diffstat (limited to 'src/content/reducers/mark.js')
-rw-r--r-- | src/content/reducers/mark.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |