Remove need for _needsRedraw() calls by replacing it with a boolean flag.

This commit is contained in:
Jürg Lehni 2013-05-27 23:40:23 -07:00
parent fd3f698fe9
commit 4e6f52c20c
5 changed files with 5 additions and 10 deletions
src/project

View file

@ -72,11 +72,6 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
return Base.serialize(this.layers, options, false, dictionary);
},
_needsRedraw: function() {
if (this.view)
this.view._redrawNeeded = true;
},
/**
* Activates this project, so all newly created items will be placed
* in it.