lethargy-ts
Advanced tools
Comparing version 0.0.6-beta.1 to 0.0.6-beta.2
@@ -120,3 +120,4 @@ /** Converts default WheelEvent to our custom IWheelEvent */ | ||
const isHighVelocity = biggestDeltaModule >= this.highVelocity; | ||
if (isHighVelocity) { | ||
const isPreviousEventHighVelocity = previousBiggestDeltaModule >= this.highVelocity; | ||
if (isHighVelocity && isPreviousEventHighVelocity) { | ||
return { | ||
@@ -123,0 +124,0 @@ isHuman: true, |
{ | ||
"name": "lethargy-ts", | ||
"version": "0.0.6-beta.1", | ||
"version": "0.0.6-beta.2", | ||
"description": "Distinguish between scroll events initiated by the user, and those by inertial scrolling", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/snelsi/lethargy-ts", |
Sorry, the diff of this file is not supported yet
29565
218