mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add documentation for Item#_getChildren().
This commit is contained in:
parent
659b431404
commit
6b50641c18
1 changed files with 4 additions and 0 deletions
|
@ -36,7 +36,11 @@ var Style = Item.extend({
|
||||||
}, this);
|
}, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the children to be used to unify style attributes, if any.
|
||||||
|
*/
|
||||||
_getChildren: function() {
|
_getChildren: function() {
|
||||||
|
// Only unify styles on children of Group items, excluding CompoundPath.
|
||||||
return this._item instanceof Group && this._item._children;
|
return this._item instanceof Group && this._item._children;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue