aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/reducers/mark.js2
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;