aboutsummaryrefslogtreecommitdiffstats
path: root/src/environment.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-03 21:58:12 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-03 21:58:12 +0100
commit7343d473cd44e8c5e800f39b9c6325053fbe5699 (patch)
tree8668b369b58e0686cdfb55089b48e298d35a8ba9 /src/environment.js
parentMerge pull request #207 from meetfranz/feature/fix-autolaunch (diff)
downloadferdium-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.js11
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';
8export const isWindows = process.platform === 'win32'; 8export const isWindows = process.platform === 'win32';
9export const isLinux = process.platform === 'linux'; 9export const isLinux = process.platform === 'linux';
10 10
11let ctrlShortcutKey; 11export const ctrlKey = isMac ? '⌘' : 'Ctrl';
12if (isMac) {
13 ctrlShortcutKey = '⌘';
14} else if (isWindows) {
15 ctrlShortcutKey = 'Ctrl';
16} else {
17 ctrlShortcutKey = 'Alt';
18}
19
20export const ctrlKey = ctrlShortcutKey;
21 12
22let api; 13let api;
23if (!isDevMode || (isDevMode && useLiveAPI)) { 14if (!isDevMode || (isDevMode && useLiveAPI)) {