mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Add comment to #_canged().
This commit is contained in:
parent
3ff2880ca8
commit
9ef542ff9a
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@ var Item = this.Item = Base.extend({
|
||||||
this.setStyle(this._document.getCurrentStyle());
|
this.setStyle(this._document.getCurrentStyle());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Private notifier that is called whenever a change occurs in this item or
|
||||||
|
* its sub-elements, such as Segments, Curves, PathStyles, etc.
|
||||||
|
*
|
||||||
|
* @param {ChangeFlags} flags describes what exactly has changed.
|
||||||
|
*/
|
||||||
_changed: function(flags) {
|
_changed: function(flags) {
|
||||||
if (flags & ChangeFlags.PATH) {
|
if (flags & ChangeFlags.PATH) {
|
||||||
delete this._position;
|
delete this._position;
|
||||||
|
|
Loading…
Reference in a new issue