aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Gustavo Sampaio <gbritosampaio@gmail.com>2017-10-19 22:22:10 -0300
committerLibravatar Gustavo Sampaio <gbritosampaio@gmail.com>2017-10-19 22:44:10 -0300
commite58f5589edeeedfbd0a4fd9a6e6de94d472be24d (patch)
treecd0a51ba674cf95f2bbfa55c0494960f24031a1c /src/stores/AppStore.js
parentAdd build packages suppport for linux: AppImage and deb packages (diff)
downloadferdium-app-e58f5589edeeedfbd0a4fd9a6e6de94d472be24d.tar.gz
ferdium-app-e58f5589edeeedfbd0a4fd9a6e6de94d472be24d.tar.zst
ferdium-app-e58f5589edeeedfbd0a4fd9a6e6de94d472be24d.zip
Add tab cycling with ctrl[+shift]+tab or ctrl+[pageup|pagedown]
This is related to #35
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index a5e0839f2..42ec25204 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -125,6 +125,18 @@ export default class AppStore extends Store {
125 this.actions.service.openDevToolsForActiveService(); 125 this.actions.service.openDevToolsForActiveService();
126 }); 126 });
127 127
128 // Set active the next service
129 key(
130 '⌘+pagedown, ctrl+pagedown, ⌘+shift+tab, ctrl+shift+tab', () => {
131 this.actions.service.setActiveNext();
132 });
133
134 // Set active the prev service
135 key(
136 '⌘+pageup, ctrl+pageup, ⌘+tab, ctrl+tab', () => {
137 this.actions.service.setActivePrev();
138 });
139
128 this.locale = this._getDefaultLocale(); 140 this.locale = this._getDefaultLocale();
129 141
130 this._healthCheck(); 142 this._healthCheck();