Skip to content
Browse files

del() method of layers object sets deleted option in itself.

  • Loading branch information...
1 parent 6f6b2cd commit 64366faac04219bc98d02927c832d0c49efa3a39 @amaduki amaduki committed Aug 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 privateObjects/12 layers.js
View
1 privateObjects/12 layers.js
@@ -121,6 +121,7 @@ proto.layer=function()
{
var optns=objectCanvas(this).optns;
optns.anyLayerDeleted = true;
+ this.optns.deleted = true;
this.draw = false;
optns.redraw=1;
return;

0 comments on commit 64366fa

Please sign in to comment.
Something went wrong with that request. Please try again.