Restructure line break.

This commit is contained in:
Jürg Lehni 2011-05-20 08:40:35 +01:00
parent 131425a12f
commit 01f26c4be0

View file

@ -34,8 +34,8 @@ var PointText = this.PointText = TextItem.extend({
}, },
setPoint: function(point) { setPoint: function(point) {
this._transform(new Matrix().translate(Point.read(arguments).subtract( this._transform(new Matrix().translate(
this._point))); Point.read(arguments).subtract(this._point)));
}, },
// TODO: position should be the center point of the bounds // TODO: position should be the center point of the bounds