From 0e4b684e3a843842b786f180ef38e1fe6ef5252c Mon Sep 17 00:00:00 2001 From: Egor Date: Mon, 9 Nov 2015 23:31:36 -0800 Subject: [PATCH] increase interval before ratio kicks can happen again --- vendor/dancer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/dancer.js b/vendor/dancer.js index e96ddce..b928621 100644 --- a/vendor/dancer.js +++ b/vendor/dancer.js @@ -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);