bump deps and more cleanup

This commit is contained in:
be5invis 2024-03-04 01:14:45 -08:00
parent f72b039ec4
commit 6e79c9e5c7
53 changed files with 440 additions and 638 deletions

View file

@ -7,8 +7,6 @@ export class Anchor {
return Anchor.transform(tfm, this);
}
static transform(tfm, a) {
const x = a.x * tfm.xx + a.y * tfm.yx + tfm.x;
const y = a.x * tfm.xy + a.y * tfm.yy + tfm.y;
return new Anchor(x, y);
return new Anchor(tfm.applyX(a.x, a.y), tfm.applyY(a.x, a.y));
}
}