commit c5100a462403259664507e7a912c884585fbb68a parent 4047949f398e43160df91fa7c1ebd9d23a8380bc Author: n0tr1v <n0tr1v@protonmail.com> Date: Thu, 30 Mar 2023 17:14:46 -0700 fix center fn Diffstat:
| M | src/lechatphp/mod.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lechatphp/mod.rs b/src/lechatphp/mod.rs @@ -164,7 +164,7 @@ impl Letter { fn center(&self) -> Point { let offset = self.offset(); - Point::new(offset.x + LETTER_WIDTH/2, offset.y + LETTER_HEIGHT/2) + Point::new(offset.x + LETTER_WIDTH/2, offset.y + LETTER_HEIGHT/2 - 1) } fn angle(&self, other: &Self) -> f64 {