@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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.81.8",
3
+ "version": "30.82.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"