mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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) {
|
setSelected: function(selected) {
|
||||||
if (this._children) {
|
if (this.children) {
|
||||||
for (var i = 0, l = this.children.length; i < l; i++) {
|
for (var i = 0, l = this.children.length; i < l; i++) {
|
||||||
var child = this._children[i];
|
var child = this.children[i];
|
||||||
child.setSelected(selected);
|
child.setSelected(selected);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue