From c25e348c4a04173d5e805f6d4f84fc3d71dd2661 Mon Sep 17 00:00:00 2001 From: Shatterbrain Date: Fri, 24 Feb 2017 10:57:23 -0500 Subject: [PATCH] Externalize pather color to variable --- src/client/js/components/pather.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client/js/components/pather.js b/src/client/js/components/pather.js index fcbe060e..522e6752 100644 --- a/src/client/js/components/pather.js +++ b/src/client/js/components/pather.js @@ -13,7 +13,8 @@ define([ path: [], - pathColor: 'rgba(255, 255, 255, 0.5)', + pathColor: '0x48edff', + pathAlpha: 0.2, pathPos: { x: 0, @@ -50,7 +51,8 @@ define([ y: y, sprite: renderer.buildRectangle({ layerName: 'effects', - alpha: 0.2, + color: this.pathColor, + alpha: this.pathAlpha, x: (x * scale) + scaleMult, y: (y * scale) + scaleMult, w: scale - (scaleMult * 2),