bump deps and more cleanup
This commit is contained in:
parent
f72b039ec4
commit
6e79c9e5c7
53 changed files with 440 additions and 638 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue