updated back arrow

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-10-08 21:37:34 -04:00
parent 983640b85a
commit a2fc754e1b
2 changed files with 92 additions and 14 deletions

View File

@@ -114,4 +114,8 @@ impl AnimationHelper {
self.center.y + self.scale_1d_pos(y_min),
)
}
pub fn scale_pos_from_center(&self, min_pos: Pos2) -> Pos2 {
self.scale_from_center(min_pos.x, min_pos.y)
}
}