@lvce-editor/renderer-process 30.19.0 → 30.21.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.
@@ -7258,9 +7258,10 @@ const getKeyBindingIdentifier = event => {
7258
7258
  code,
7259
7259
  ctrlKey,
7260
7260
  key,
7261
+ metaKey,
7261
7262
  shiftKey
7262
7263
  } = event;
7263
- const modifierControl = ctrlKey ? CtrlCmd : 0;
7264
+ const modifierControl = ctrlKey || metaKey ? CtrlCmd : 0;
7264
7265
  const modifierShift = shiftKey ? Shift : 0;
7265
7266
  const modifierAlt = altKey ? Alt : 0;
7266
7267
  const normalizedKey = normalizeKey(key, code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.19.0",
3
+ "version": "30.21.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"