Fixed offset error.

This commit is contained in:
Severin Opel 2021-02-01 13:54:40 +01:00
parent be950ec8c1
commit 1316a727f3
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ export class AbstractScatter extends Throwable {
// this._move(offset)
this.scale = newScale
this.rotation += rotate
let offset = Points.negate(offset)
let offset = Points.negate(anchorOffset)
offset = Points.add(offset, extra)
offset = Points.add(offset, translate)
this._move(Points.add(anchorOffset, offset))