Skip to content
Snippets Groups Projects
Commit 1e2c304f authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

fix typo

parent 0eff4bd0
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ const project = (v1, v2) => {
// direction: either use the constants above or an arbitrary 2d vector.
// threshold: how many Px to move from touch origin before checking if the
// callback should be called.
// divergentTolerance: a scalr for much of divergent direction we tolerate when
// divergentTolerance: a scalar for much of divergent direction we tolerate when
// above threshold. for example, with 1.0 we only call the callback if
// divergent component of delta is < 1.0 * direction component of delta.
const swipeGesture = (direction, onSwipe, threshold = 30, perpendicularTolerance = 1.0) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment