diff --git a/lib/scatter.js b/lib/scatter.js index 449b7ff..b308fe1 100644 --- a/lib/scatter.js +++ b/lib/scatter.js @@ -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))