From 61a31692f38a660ae36d7b565b15ec8b1ffa7351 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 24 Feb 2018 17:21:54 +0200 Subject: [PATCH] Distance fix --- public/js/app.js | 2 +- resources/assets/js/home.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index c2de5a5..8071dd8 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -36620,7 +36620,7 @@ $(document).ready(function () { hovered = false, colors = ["255,255,255", "255,0,0", "0,0,0"], //pixel colors - minDist = 20, + minDist = 40, //minimum distance bounceFactor = 0.9; // when it increases they are getting more jump height diff --git a/resources/assets/js/home.js b/resources/assets/js/home.js index 42fb691..d04462e 100644 --- a/resources/assets/js/home.js +++ b/resources/assets/js/home.js @@ -41,7 +41,7 @@ $(document).ready(function(){ mouse = {}, hovered = false, colors = ["255,255,255", "255,0,0", "0,0,0"], //pixel colors - minDist = 20, //minimum distance + minDist = 40, //minimum distance bounceFactor = 0.9; // when it increases they are getting more jump height var W = window.innerWidth,