Skip to content
Browse files

Increase 'shake' velocity threshold

  • Loading branch information...
1 parent 37c0099 commit 07ce9b64ae9f38151410d727645cec47fa8d6640 @alexgibson committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/gesture/shake.js
View
2 libs/gesture/shake.js
@@ -17,7 +17,7 @@
this.hasDeviceMotion = 'ondevicemotion' in window;
//default velocity threshold for shake to register
- this.threshold = 15;
+ this.threshold = 19;
//use date to prevent multiple shakes firing
this.lastTime = new Date();

0 comments on commit 07ce9b6

Please sign in to comment.
Something went wrong with that request. Please try again.