diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-23 22:01:29 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-23 22:01:29 +0900 |
commit | a5f1e06efcc64c181f2e06337e47e4705aebabb8 (patch) | |
tree | 0cc73b8fb885c6c7f4eeda908c5147fc64606557 /src/shared | |
parent | 1f15d2264305a5492f3f95d9fbdaf1e31fbb33fd (diff) |
support zz command
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/actions.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/actions.js b/src/shared/actions.js index 768f06e..656b801 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -13,6 +13,7 @@ export const HISTORY_PREV = 'history.prev'; export const HISTORY_NEXT = 'history.next'; export const ZOOM_IN = 'zoom.in'; export const ZOOM_OUT = 'zoom.out'; +export const ZOOM_NEUTRAL = 'zoom.neutral'; const BACKGROUND_ACTION_SET = new Set([ TABS_CLOSE, @@ -20,7 +21,8 @@ const BACKGROUND_ACTION_SET = new Set([ TABS_PREV, TABS_NEXT, ZOOM_IN, - ZOOM_OUT + ZOOM_OUT, + ZOOM_NEUTRAL ]); const CONTENT_ACTION_SET = new Set([ |