mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix Item#setSelected.
This commit is contained in:
parent
877e9f324c
commit
1d92aea8e2
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ var Item = this.Item = Base.extend({
|
|||
},
|
||||
|
||||
setSelected: function(selected) {
|
||||
if (this._children) {
|
||||
if (this.children) {
|
||||
for (var i = 0, l = this.children.length; i < l; i++) {
|
||||
var child = this._children[i];
|
||||
var child = this.children[i];
|
||||
child.setSelected(selected);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue