mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix bug in setHidden where Item#visible was being interpreted as a bean.
This commit is contained in:
parent
5507482d8f
commit
336c9e1441
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ var Item = this.Item = Base.extend({
|
|||
},
|
||||
|
||||
setHidden: function(hidden) {
|
||||
this.setVisible(!hidden);
|
||||
this.visible = !hidden;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue