aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/mark.js
blob: 1f5174e2bb8a79ff4d63fe3021fef0ec51ce4443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import actions from 'content/actions';

const startSet = () => {
  return { type: actions.MARK_START_SET };
};

const startJump = () => {
  return { type: actions.MARK_START_JUMP };
};

const cancel = () => {
  return { type: actions.MARK_CANCEL };
};

const setLocal = (key, x, y) => {
  return {
    type: actions.MARK_SET_LOCAL,
    key,
    x,
    y,
  };
};

export {
  startSet, startJump, cancel, setLocal,
};