mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-26 14:45:44 +00:00
fix three mod key
This commit is contained in:
@@ -236,7 +236,8 @@ export function hotkeyToString (keys: string[], ctrl = false, shift = false, alt
|
||||
keys = keys.filter(key => !isModKey(key))
|
||||
|
||||
let mod = ''
|
||||
if (shift && alt) mod = 'Shift + Alt'
|
||||
if (ctrl && shift && alt) mod = 'Ctrl + Shift + Alt'
|
||||
else if (shift && alt) mod = 'Shift + Alt'
|
||||
else if (ctrl && shift) mod = 'Ctrl + Shift'
|
||||
else if (ctrl && alt) mod = 'Ctrl + Alt'
|
||||
else if (alt) mod = 'Alt'
|
||||
|
||||
Reference in New Issue
Block a user