diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-23 21:58:58 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-23 21:58:58 +0900 |
commit | 1f15d2264305a5492f3f95d9fbdaf1e31fbb33fd (patch) | |
tree | 7227f144d6c9af7644bf43d8c447a41e480ccdce /src/shared | |
parent | 1afbde6e199309703f07f2d031632d9d2422a3d5 (diff) |
support zi/zo commands
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/actions.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/actions.js b/src/shared/actions.js index e01813b..768f06e 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -11,12 +11,16 @@ export const SCROLL_BOTTOM = 'scroll.bottom'; export const FOLLOW_START = 'follow.start'; export const HISTORY_PREV = 'history.prev'; export const HISTORY_NEXT = 'history.next'; +export const ZOOM_IN = 'zoom.in'; +export const ZOOM_OUT = 'zoom.out'; const BACKGROUND_ACTION_SET = new Set([ TABS_CLOSE, TABS_REOPEN, TABS_PREV, - TABS_NEXT + TABS_NEXT, + ZOOM_IN, + ZOOM_OUT ]); const CONTENT_ACTION_SET = new Set([ |