increase interval before ratio kicks can happen again
This commit is contained in:
parent
493a89ad7f
commit
fe007c0dca
1 changed files with 1 additions and 1 deletions
2
vendor/dancer.js
vendored
2
vendor/dancer.js
vendored
|
|
@ -342,7 +342,7 @@
|
|||
var self = this;
|
||||
this.canUseRatioHandle = setTimeout(function(){
|
||||
self.canUseRatio = true;
|
||||
}, 2000);
|
||||
}, 5000);
|
||||
} else {
|
||||
if(magnitude/this.previousMag > this.threshold*5 && magnitude>0.1 && this.canUseRatio) {
|
||||
this.onKick && this.onKick.call(this.dancer, magnitude, magnitude/this.previousMag);
|
||||
|
|
|
|||
Reference in a new issue