aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/Key.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/settings/Key.ts')
-rw-r--r--src/shared/settings/Key.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/settings/Key.ts b/src/shared/settings/Key.ts
index 3a3eb3b..cfe1e7e 100644
--- a/src/shared/settings/Key.ts
+++ b/src/shared/settings/Key.ts
@@ -33,8 +33,8 @@ export default class Key {
static fromMapKey(str: string): Key {
if (str.startsWith('<') && str.endsWith('>')) {
- let inner = str.slice(1, -1);
- let shift = inner.includes('S-');
+ const inner = str.slice(1, -1);
+ const shift = inner.includes('S-');
let base = inner.slice(inner.lastIndexOf('-') + 1);
if (shift && base.length === 1) {
base = base.toUpperCase();