lethargy-ts
Advanced tools
Comparing version 0.0.6-beta.4 to 0.1.0
@@ -45,3 +45,3 @@ /** Converts default WheelEvent to our custom IWheelEvent */ | ||
previousEvents; | ||
constructor({ sensitivity = 2, delay = 100, increasingDeltasThreshold = 4, } = {}) { | ||
constructor({ sensitivity = 2, delay = 100, increasingDeltasThreshold = 3, } = {}) { | ||
this.sensitivity = Math.max(1, sensitivity); | ||
@@ -48,0 +48,0 @@ this.delay = Math.max(1, delay); |
{ | ||
"name": "lethargy-ts", | ||
"version": "0.0.6-beta.4", | ||
"version": "0.1.0", | ||
"description": "Distinguish between scroll events initiated by the user, and those by inertial scrolling", | ||
@@ -35,8 +35,8 @@ "repository": "https://github.com/snelsi/lethargy-ts", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"@typescript-eslint/eslint-plugin": "^7.9.0", | ||
"@typescript-eslint/parser": "^7.9.0", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"happy-dom": "^14.7.1", | ||
"happy-dom": "^14.11.0", | ||
"husky": "^9.0.11", | ||
@@ -43,0 +43,0 @@ "lint-staged": "^15.2.2", |
@@ -48,3 +48,3 @@ # ⭐ Lethargy-TS | ||
delay: 100, | ||
increasingDeltasThreshold: 4, | ||
increasingDeltasThreshold: 3, | ||
}); | ||
@@ -51,0 +51,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26785