mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -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.strokeStyle = strokeColor.getCanvasStyle(ctx);
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
}
|
}
|
||||||
|
param.compound = false;
|
||||||
}
|
}
|
||||||
}, new function() { // Injection scope for PostScript-like drawing functions
|
}, new function() { // Injection scope for PostScript-like drawing functions
|
||||||
function getCurrentPath(that) {
|
function getCurrentPath(that) {
|
||||||
|
|
Loading…
Reference in a new issue