diff options
author | hwc487 | 2012-02-27 10:28:03 -0800 |
---|---|---|
committer | hwc487 | 2012-02-27 10:28:03 -0800 |
commit | 8578322c60adaaf65f37ba96f2a0f7ed9de8e1dc (patch) | |
tree | cb167012f42f9c29879951c4d86c44ed7a447301 /js/helper-classes/RDGE/GLLine.js | |
parent | d0661d6c587aced68a68e36a5ec4e81f8a2096e8 (diff) | |
download | ninja-8578322c60adaaf65f37ba96f2a0f7ed9de8e1dc.tar.gz |
Fixed various rendering bugs.
Diffstat (limited to 'js/helper-classes/RDGE/GLLine.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLLine.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLLine.js b/js/helper-classes/RDGE/GLLine.js index 5228ac09..5b966896 100755 --- a/js/helper-classes/RDGE/GLLine.js +++ b/js/helper-classes/RDGE/GLLine.js | |||
@@ -43,7 +43,7 @@ function GLLine( world, xOffset, yOffset, width, height, slope, strokeSize, stro | |||
43 | 43 | ||
44 | this._slope = slope; | 44 | this._slope = slope; |
45 | this._strokeWidth = strokeSize; | 45 | this._strokeWidth = strokeSize; |
46 | this._strokeColor = strokeColor; | 46 | if (strokeCOlor)this._strokeColor = strokeColor; |
47 | 47 | ||
48 | this._strokeStyle = strokeStyle; | 48 | this._strokeStyle = strokeStyle; |
49 | this._scaleX = (world.getViewportWidth())/(world.getViewportHeight()); | 49 | this._scaleX = (world.getViewportWidth())/(world.getViewportHeight()); |