fixed bug with stage.remove(layer). layer canvas context is now correctly removed from the dom

This commit is contained in:
Eric Rowell
2012-07-28 22:16:29 -07:00
parent e69c7a9ac1
commit 87182d704c
5 changed files with 10 additions and 5 deletions

View File

@@ -3125,7 +3125,7 @@ Kinetic.Stage = Kinetic.Container.extend({
* it exists
*/
try {
this.content.removeChild(layer.canvas);
this.content.removeChild(layer.canvas.element);
}
catch(e) {
}

File diff suppressed because one or more lines are too long