From 42ae3ce42e51b31f69a438f5cd96baee0b36f66f Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 14 May 2011 20:36:58 +0200 Subject: [PATCH] CompoundPath#draw: set param.compound to false when done drawing. --- src/path/CompoundPath.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index ea52967c..e856b874 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -71,6 +71,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ ctx.strokeStyle = strokeColor.getCanvasStyle(ctx); ctx.stroke(); } + param.compound = false; } }, new function() { // Injection scope for PostScript-like drawing functions function getCurrentPath(that) {