@lvce-editor/renderer-process 30.81.8 → 30.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7983,7 +7983,7 @@ const getKeyBindingIdentifier = event => {
|
|
|
7983
7983
|
const modifierControl = ctrlKey || metaKey ? CtrlCmd : 0;
|
|
7984
7984
|
const modifierShift = shiftKey ? Shift : 0;
|
|
7985
7985
|
const modifierAlt = altKey ? Alt : 0;
|
|
7986
|
-
const normalizedKey = normalizeKey(key, code);
|
|
7986
|
+
const normalizedKey = shiftKey && key.length === 1 && !/[a-z0-9]/i.test(key) && code ? code : normalizeKey(key, code);
|
|
7987
7987
|
const keyCode = getKeyCode(normalizedKey);
|
|
7988
7988
|
const identifier = modifierControl | modifierShift | modifierAlt | keyCode;
|
|
7989
7989
|
return identifier;
|