From fa700027b541ec8f37c55f4fe17da5f78759ebd5 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Wed, 8 Feb 2012 16:06:37 -0800 Subject: fill all paths even if they are open --- js/helper-classes/RDGE/GLSubpath.js | 3 +-- 1 file changed, 1 insertion(+), 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() { } if (this._isClosed === true) { ctx.lineTo(this._samples[0]-bboxMin[0],this._samples[1]-bboxMin[1]); - ctx.fill(); } - + ctx.fill(); ctx.stroke(); ctx.restore(); } //render() -- cgit v1.2.3