mirror of
https://github.com/He4eT/tabswiper.git
synced 2026-05-04 16:47:23 +00:00
Keyboard handlers: switch to tab with Up Arrow
This commit is contained in:
parent
a66868cf0c
commit
bd1a89477b
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ export const attachKeyboardHandlers = (store) => {
|
||||||
store.actions.keepTab(store.getCurrentState().currentTab)
|
store.actions.keepTab(store.getCurrentState().currentTab)
|
||||||
return
|
return
|
||||||
case 'f':
|
case 'f':
|
||||||
|
case 'ArrowUp':
|
||||||
store.actions.goToTab(store.getCurrentState().currentTab)
|
store.actions.goToTab(store.getCurrentState().currentTab)
|
||||||
return
|
return
|
||||||
case 'r':
|
case 'r':
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<button
|
<button
|
||||||
id='buttonShow'
|
id='buttonShow'
|
||||||
class='actionButton'
|
class='actionButton'
|
||||||
title='Switch to this tab (Press F)'
|
title='Switch to this tab (Press F or Up Arrow)'
|
||||||
>
|
>
|
||||||
Show
|
Show
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue