Make #setContextStyles() a 'protected' function.

This commit is contained in:
Jürg Lehni 2011-04-28 13:04:12 +01:00
parent d71450c0b1
commit f69153844b
2 changed files with 3 additions and 3 deletions

View file

@ -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) {