aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-27 10:12:12 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-27 10:12:12 +0900
commit02c0cfd97d44c8568dee6f0d11d2e45732309c67 (patch)
tree3ac86ccfaabaa86acd23a0f46821c6511223db0a /src/shared
parent6213f55e22f79eb8b7572a619e0fc68047c0631e (diff)
scroll lines action
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/actions.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/actions.js b/src/shared/actions.js
index f0a224c..379a236 100644
--- a/src/shared/actions.js
+++ b/src/shared/actions.js
@@ -5,8 +5,7 @@ export const TABS_REOPEN = 'tabs.reopen';
export const TABS_PREV = 'tabs.prev';
export const TABS_NEXT = 'tabs.next';
export const TABS_RELOAD = 'tabs.reload';
-export const SCROLL_UP = 'scroll.up';
-export const SCROLL_DOWN = 'scroll.down';
+export const SCROLL_LINES = 'scroll.lines';
export const SCROLL_TOP = 'scroll.top';
export const SCROLL_BOTTOM = 'scroll.bottom';
export const FOLLOW_START = 'follow.start';
@@ -30,8 +29,7 @@ const BACKGROUND_ACTION_SET = new Set([
const CONTENT_ACTION_SET = new Set([
CMD_OPEN,
CMD_TABS_OPEN,
- SCROLL_UP,
- SCROLL_DOWN,
+ SCROLL_LINES,
SCROLL_TOP,
SCROLL_BOTTOM,
FOLLOW_START,