mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-28 06:39:33 -04:00
Make #setContextStyles() a 'protected' function.
This commit is contained in:
parent
d71450c0b1
commit
f69153844b
2 changed files with 3 additions and 3 deletions
src/path
|
@ -58,7 +58,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
param.compound = true;
|
||||
for (var i = 0, l = this.children.length; i < l; i++)
|
||||
Item.draw(this.children[i], ctx, param);
|
||||
firstChild.setContextStyles(ctx);
|
||||
firstChild._setStyles(ctx);
|
||||
var fillColor = firstChild.getFillColor(),
|
||||
strokeColor = firstChild.getStrokeColor();
|
||||
if (fillColor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue