Store x position into marks
This commit is contained in:
parent
e6d990966a
commit
f66e75575d
4 changed files with 10 additions and 6 deletions
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue