No need to check for _project as it will always bet set.

This commit is contained in:
Jürg Lehni 2011-08-23 16:35:19 +02:00
parent a775ddec9e
commit 79f351e5ee

View file

@ -49,8 +49,7 @@ var Item = this.Item = Base.extend(/** @lends Item# */{
delete this._position;
}
if (flags & ChangeFlag.APPEARANCE) {
if (this._project)
this._project._needsRedraw();
this._project._needsRedraw();
}
if (this._parentSymbol)
this._parentSymbol._changed(flags);