From 4de755ad6d015f0e62c996272299ba2e399e082c Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 11 Aug 2017 00:48:35 -0400 Subject: [PATCH] Oops, fix hover effect radius --- js/proximity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/proximity.js b/js/proximity.js index 3d65e3c..6111499 100644 --- a/js/proximity.js +++ b/js/proximity.js @@ -672,7 +672,7 @@ function loopStart () { connectionDistance = Math.min(Math.round(totalScreenPixels / 16), 75); pointShiftDistance = Math.round(totalScreenPixels / 45); clickMaxDistStart = Math.min(Math.round(totalScreenPixels / 20), clickMaxDistStart); - hoverMaxDistStart = Math.min(Math.round(totalScreenPixels / 16), hoverMaxDistMax); + hoverMaxDistStart = Math.min(Math.round(totalScreenPixels / 16), hoverMaxDistStart); polygon = new window.PIXI.Graphics(); stage.addChild(polygon); startPoints = getRandomPoints(Math.round(totalScreenPixels / 6), screenWidth, screenHeight, zRange, tweeningFns);