@lvce-editor/renderer-process 30.20.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);
|