mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
CompoundPath#draw: set param.compound to false when done drawing.
This commit is contained in:
parent
4e059af684
commit
42ae3ce42e
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue