fixed stage.hide() bug, created new isVisible() method, and moved visible check to container

This commit is contained in:
Eric Rowell
2012-04-14 12:04:45 -07:00
parent c17029d38e
commit 3a520376e5
7 changed files with 125 additions and 74 deletions

View File

@@ -174,6 +174,12 @@ Kinetic.Node.prototype = {
}
}
},
/**
* determine if shape is visible or not
*/
isVisible: function() {
return this.attrs.visible;
},
/**
* show node
*/