diff --git a/src/core/display/ObservablePoint.js b/src/core/display/ObservablePoint.js index fd7a04b..958661f 100644 --- a/src/core/display/ObservablePoint.js +++ b/src/core/display/ObservablePoint.js @@ -35,7 +35,7 @@ set: function (value) { this._x = value; - this.transform.dirty = true; + this.transform._versionLocal++; } }, @@ -47,7 +47,7 @@ set: function (value) { this._y = value; - this.transform.dirty = true; + this.transform._versionLocal++; } } }); @@ -63,6 +63,6 @@ { this._x = x || 0; this._y = y || ( (y !== 0) ? this._x : 0 ); - - this.transform.dirty = true; + + this.transform._versionLocal++; };