@desynova-digital/player 3.13.20 → 3.13.21
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 +8 -8
- package/package.json +1 -1
package/components/Shortcut.js
CHANGED
|
@@ -515,19 +515,19 @@ var Shortcut = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
515
515
|
key: "componentDidMount",
|
|
516
516
|
value: function componentDidMount() {
|
|
517
517
|
this.mergeShortcuts();
|
|
518
|
-
(0, _hotkeysJs["default"])('
|
|
518
|
+
(0, _hotkeysJs["default"])('w+right,right+w', {
|
|
519
519
|
keyup: true,
|
|
520
520
|
keydown: true
|
|
521
521
|
}, this.threeKeyCombo1);
|
|
522
|
-
(0, _hotkeysJs["default"])('
|
|
522
|
+
(0, _hotkeysJs["default"])('w+left,left+w', {
|
|
523
523
|
keyup: true,
|
|
524
524
|
keydown: true
|
|
525
525
|
}, this.threeKeyCombo2);
|
|
526
|
-
(0, _hotkeysJs["default"])('
|
|
526
|
+
(0, _hotkeysJs["default"])('q+right,right+q', {
|
|
527
527
|
keyup: true,
|
|
528
528
|
keydown: true
|
|
529
529
|
}, this.threeKeyCombo3);
|
|
530
|
-
(0, _hotkeysJs["default"])('
|
|
530
|
+
(0, _hotkeysJs["default"])('q+left,left+q', {
|
|
531
531
|
keyup: true,
|
|
532
532
|
keydown: true
|
|
533
533
|
}, this.threeKeyCombo4);
|
|
@@ -574,10 +574,10 @@ var Shortcut = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
574
574
|
}, {
|
|
575
575
|
key: "componentWillUnmount",
|
|
576
576
|
value: function componentWillUnmount() {
|
|
577
|
-
_hotkeysJs["default"].unbind('
|
|
578
|
-
_hotkeysJs["default"].unbind('
|
|
579
|
-
_hotkeysJs["default"].unbind('
|
|
580
|
-
_hotkeysJs["default"].unbind('
|
|
577
|
+
_hotkeysJs["default"].unbind('q+right,right+q');
|
|
578
|
+
_hotkeysJs["default"].unbind('w+right,right+w');
|
|
579
|
+
_hotkeysJs["default"].unbind('w+left,left+w');
|
|
580
|
+
_hotkeysJs["default"].unbind('w+left,left+w');
|
|
581
581
|
document.removeEventListener('keydown', this.handleKeyPress);
|
|
582
582
|
document.removeEventListener('click', this.handleClick);
|
|
583
583
|
document.removeEventListener('dblclick', this.handleDoubleClick);
|