Have all visual changes include ChangeFlags.APPEARANCE.

This commit is contained in:
Jürg Lehni 2011-06-19 22:20:28 +01:00
parent bfe229ae14
commit f0bc3f115b
7 changed files with 40 additions and 24 deletions
src/path

View file

@ -196,7 +196,7 @@ var Path = this.Path = PathItem.extend({
this._curves[i = length - 1] = Curve.create(this,
this._segments[i], this._segments[0]);
}
this._changed(ChangeFlags.GEOMETRY);
this._changed(Change.GEOMETRY);
}
},
@ -276,7 +276,7 @@ var Path = this.Path = PathItem.extend({
curve._segment1 = segments[index + amount];
}
}
this._changed(ChangeFlags.GEOMETRY);
this._changed(Change.GEOMETRY);
return segs;
},
@ -559,7 +559,7 @@ var Path = this.Path = PathItem.extend({
if (last && this._closed && (curve = curves[curves.length - 1]))
curve._segment2 = segments[0];
}
this._changed(ChangeFlags.GEOMETRY);
this._changed(Change.GEOMETRY);
return removed;
},
@ -885,7 +885,7 @@ var Path = this.Path = PathItem.extend({
last1.remove();
this.setClosed(true);
}
this._changed(ChangeFlags.GEOMETRY);
this._changed(Change.GEOMETRY);
return true;
}
return false;