Fixed offset error.
This commit is contained in:
parent
be950ec8c1
commit
1316a727f3
@ -623,7 +623,7 @@ export class AbstractScatter extends Throwable {
|
|||||||
// this._move(offset)
|
// this._move(offset)
|
||||||
this.scale = newScale
|
this.scale = newScale
|
||||||
this.rotation += rotate
|
this.rotation += rotate
|
||||||
let offset = Points.negate(offset)
|
let offset = Points.negate(anchorOffset)
|
||||||
offset = Points.add(offset, extra)
|
offset = Points.add(offset, extra)
|
||||||
offset = Points.add(offset, translate)
|
offset = Points.add(offset, translate)
|
||||||
this._move(Points.add(anchorOffset, offset))
|
this._move(Points.add(anchorOffset, offset))
|
||||||
|
Loading…
Reference in New Issue
Block a user