diff options
author | 2017-11-03 21:58:12 +0100 | |
---|---|---|
committer | 2017-11-03 21:58:12 +0100 | |
commit | 7343d473cd44e8c5e800f39b9c6325053fbe5699 (patch) | |
tree | 8668b369b58e0686cdfb55089b48e298d35a8ba9 /src/environment.js | |
parent | Merge pull request #207 from meetfranz/feature/fix-autolaunch (diff) | |
download | ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.tar.gz ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.tar.zst ferdium-app-7343d473cd44e8c5e800f39b9c6325053fbe5699.zip |
Reset linux shortcuts to Ctrl
Diffstat (limited to 'src/environment.js')
-rw-r--r-- | src/environment.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/environment.js b/src/environment.js index 7bb2db134..e185120c0 100644 --- a/src/environment.js +++ b/src/environment.js | |||
@@ -8,16 +8,7 @@ export const isMac = process.platform === 'darwin'; | |||
8 | export const isWindows = process.platform === 'win32'; | 8 | export const isWindows = process.platform === 'win32'; |
9 | export const isLinux = process.platform === 'linux'; | 9 | export const isLinux = process.platform === 'linux'; |
10 | 10 | ||
11 | let ctrlShortcutKey; | 11 | export const ctrlKey = isMac ? '⌘' : 'Ctrl'; |
12 | if (isMac) { | ||
13 | ctrlShortcutKey = '⌘'; | ||
14 | } else if (isWindows) { | ||
15 | ctrlShortcutKey = 'Ctrl'; | ||
16 | } else { | ||
17 | ctrlShortcutKey = 'Alt'; | ||
18 | } | ||
19 | |||
20 | export const ctrlKey = ctrlShortcutKey; | ||
21 | 12 | ||
22 | let api; | 13 | let api; |
23 | if (!isDevMode || (isDevMode && useLiveAPI)) { | 14 | if (!isDevMode || (isDevMode && useLiveAPI)) { |