Skip to content

Commit ae021ee

Browse files
committed
larger velocity swipe effect
1 parent 191b9d7 commit ae021ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class SwipeableItem<T> extends React.PureComponent<Props<T>> {
207207
// Approximate where item would end up with velocity taken into account
208208
velocityModifiedPosition = add(
209209
this.animState.position,
210-
divide(this.velocity, 20)
210+
divide(this.velocity, 10)
211211
);
212212

213213
// This beautiful little snippet stolen from

0 commit comments

Comments
 (0)