Browse Source

Externalize pather color to variable

tags/v0.1.2^2
Shatterbrain 7 years ago
parent
commit
c25e348c4a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/client/js/components/pather.js

+ 4
- 2
src/client/js/components/pather.js View File

@@ -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),


Loading…
Cancel
Save