mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 22:01:58 -05:00
Restructure line break.
This commit is contained in:
parent
131425a12f
commit
01f26c4be0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue