aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes
diff options
context:
space:
mode:
authorPushkar Joshi2012-02-08 16:06:37 -0800
committerPushkar Joshi2012-02-08 16:06:37 -0800
commitfa700027b541ec8f37c55f4fe17da5f78759ebd5 (patch)
tree57b12e12162a0dc9ac58f5876b351a73c9f18e82 /js/helper-classes
parent18243deb66ab14a014756bfb0be1a52648c7771a (diff)
downloadninja-fa700027b541ec8f37c55f4fe17da5f78759ebd5.tar.gz
fill all paths even if they are open
Diffstat (limited to 'js/helper-classes')
-rw-r--r--js/helper-classes/RDGE/GLSubpath.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/helper-classes/RDGE/GLSubpath.js b/js/helper-classes/RDGE/GLSubpath.js
index a14fdda0..3200cf59 100644
--- a/js/helper-classes/RDGE/GLSubpath.js
+++ b/js/helper-classes/RDGE/GLSubpath.js
@@ -171,9 +171,8 @@ function GLSubpath() {
171 } 171 }
172 if (this._isClosed === true) { 172 if (this._isClosed === true) {
173 ctx.lineTo(this._samples[0]-bboxMin[0],this._samples[1]-bboxMin[1]); 173 ctx.lineTo(this._samples[0]-bboxMin[0],this._samples[1]-bboxMin[1]);
174 ctx.fill();
175 } 174 }
176 175 ctx.fill();
177 ctx.stroke(); 176 ctx.stroke();
178 ctx.restore(); 177 ctx.restore();
179 } //render() 178 } //render()