aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/line.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-30 13:53:47 -0700
committerNivesh Rajbhandari2012-03-30 13:53:47 -0700
commiteae317815e15a7ffc2dd1bd1e39b208eaa02fd2b (patch)
treecae3e2d74529061a04b817ae216c2dbecbb5c5bb /js/lib/geom/line.js
parent80782d5d0721463f716f0a7241afd09a38543199 (diff)
downloadninja-eae317815e15a7ffc2dd1bd1e39b208eaa02fd2b.tar.gz
Update PI and Color Panel to reflect default LinearGradient and RadialGradient materials' colors.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib/geom/line.js')
-rwxr-xr-xjs/lib/geom/line.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/line.js b/js/lib/geom/line.js
index 2b2434f5..f3806fac 100755
--- a/js/lib/geom/line.js
+++ b/js/lib/geom/line.js
@@ -44,7 +44,7 @@ var Line = function GLLine( world, xOffset, yOffset, width, height, slope, strok
44 44
45 this._slope = slope; 45 this._slope = slope;
46 this._strokeWidth = strokeSize; 46 this._strokeWidth = strokeSize;
47 if (strokeColor) this._strokeColor = strokeColor.slice(); 47 this._strokeColor = strokeColor;
48 48
49 this._strokeStyle = strokeStyle; 49 this._strokeStyle = strokeStyle;
50 this._scaleX = (world.getViewportWidth())/(world.getViewportHeight()); 50 this._scaleX = (world.getViewportWidth())/(world.getViewportHeight());