@antha/input 0.4.0 → 0.4.2

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.
@@ -277,7 +277,8 @@ export function createAnthaMenuNavMod(options = {}) {
277
277
  if ((!directionalMenuNavBindings.includes(bindingName) ||
278
278
  activeBinding.value >= minimumDirectionalInputValue) &&
279
279
  (!activeBinding.actCount ||
280
- (activeBinding.holdDuration.milliseconds >= repeatThreshold &&
280
+ (directionalMenuNavBindings.includes(bindingName) &&
281
+ activeBinding.holdDuration.milliseconds >= repeatThreshold &&
281
282
  activeBinding.holdDuration.milliseconds -
282
283
  activeBinding.lastActDuration.milliseconds >
283
284
  repeatInterval))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antha/input",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "An Antha mod for handling inputs.",
5
5
  "keywords": [
6
6
  "vir",
@@ -33,7 +33,7 @@
33
33
  "test:docs": "virmator docs check"
34
34
  },
35
35
  "dependencies": {
36
- "@antha/gamepad-type": "^0.4.0",
36
+ "@antha/gamepad-type": "^0.4.2",
37
37
  "@augment-vir/assert": "^32.2.3",
38
38
  "@augment-vir/common": "^32.2.3",
39
39
  "date-vir": "^9.1.1",
@@ -51,7 +51,7 @@
51
51
  "istanbul-smart-text-reporter": "^1.1.5"
52
52
  },
53
53
  "peerDependencies": {
54
- "@antha/engine": "^0.4.0",
54
+ "@antha/engine": "^0.4.2",
55
55
  "element-vir": ">=26"
56
56
  },
57
57
  "engines": {