Skip to content

Commit

Permalink
del() method of layers object sets deleted option in itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
amaduki committed Aug 26, 2012
1 parent 6f6b2cd commit 64366fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions privateObjects/12 layers.js
Expand Up @@ -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;
Expand Down

0 comments on commit 64366fa

Please sign in to comment.