Store x position into marks

This commit is contained in:
Shin'ya Ueoka 2018-10-11 17:20:02 +09:00
parent e6d990966a
commit f66e75575d
4 changed files with 10 additions and 6 deletions

View file

@ -12,10 +12,11 @@ const cancel = () => {
return { type: actions.MARK_CANCEL };
};
const setLocal = (key, y) => {
const setLocal = (key, x, y) => {
return {
type: actions.MARK_SET_LOCAL,
key,
x,
y,
};
};