diff options
author | 2019-03-21 12:26:21 +0100 | |
---|---|---|
committer | 2019-03-21 12:26:21 +0100 | |
commit | 2c0b35898e18697876650a514cca31325b373afd (patch) | |
tree | d9013168420d5dbc93f51dc3171e84bc36c477e2 /src/lib | |
parent | add workspace drawer (diff) | |
download | ferdium-app-2c0b35898e18697876650a514cca31325b373afd.tar.gz ferdium-app-2c0b35898e18697876650a514cca31325b373afd.tar.zst ferdium-app-2c0b35898e18697876650a514cca31325b373afd.zip |
change workspace switch shortcuts to start with zero
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 7b224802f..1d4f0e001 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -795,7 +795,7 @@ export default class FranzMenu { | |||
795 | // Default workspace | 795 | // Default workspace |
796 | menu.push({ | 796 | menu.push({ |
797 | label: intl.formatMessage(menuItems.defaultWorkspace), | 797 | label: intl.formatMessage(menuItems.defaultWorkspace), |
798 | accelerator: `${cmdKey}+Alt+1`, | 798 | accelerator: `${cmdKey}+Alt+0`, |
799 | type: 'radio', | 799 | type: 'radio', |
800 | checked: !activeWorkspace, | 800 | checked: !activeWorkspace, |
801 | click: () => { | 801 | click: () => { |
@@ -807,7 +807,7 @@ export default class FranzMenu { | |||
807 | if (this.stores.user.isLoggedIn) { | 807 | if (this.stores.user.isLoggedIn) { |
808 | workspaces.forEach((workspace, i) => menu.push({ | 808 | workspaces.forEach((workspace, i) => menu.push({ |
809 | label: workspace.name, | 809 | label: workspace.name, |
810 | accelerator: i < 9 ? `${cmdKey}+Alt+${i + 2}` : null, | 810 | accelerator: i < 9 ? `${cmdKey}+Alt+${i + 1}` : null, |
811 | type: 'radio', | 811 | type: 'radio', |
812 | checked: activeWorkspace ? workspace.id === activeWorkspace.id : false, | 812 | checked: activeWorkspace ? workspace.id === activeWorkspace.id : false, |
813 | click: () => { | 813 | click: () => { |