@desynova-digital/player 4.0.41 → 4.0.42
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.
- package/components/Shortcut.js +4 -0
- package/package.json +1 -1
package/components/Shortcut.js
CHANGED
|
@@ -865,6 +865,10 @@ var Shortcut = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
865
865
|
})[0];
|
|
866
866
|
if (shortcut) {
|
|
867
867
|
var _markers$2;
|
|
868
|
+
if (e.key.toLowerCase() === "c" && (e.ctrlKey || e.shiftKey || e.altKey || e.metaKey)) {
|
|
869
|
+
// Ignore `C` Key Combos
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
868
872
|
shortcut.handle(player, actions, frameRate, e, (_markers$2 = markers[0]) === null || _markers$2 === void 0 ? void 0 : _markers$2.values);
|
|
869
873
|
e.preventDefault();
|
|
870
874
|
}
|