mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
No need to check for _project as it will always bet set.
This commit is contained in:
parent
a775ddec9e
commit
79f351e5ee
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue