fix: correct type on to_align_offset

This commit is contained in:
Ethan Rooke 2024-11-11 21:59:51 -06:00
parent e06337a0e8
commit 931cf4c15f
No known key found for this signature in database
GPG key ID: B2874A77049A5923

View file

@ -1019,7 +1019,7 @@ class BoundBox:
and second_box.max.Z < self.max.Z
)
def to_align_offset(self, align: Tuple[float, float]) -> Tuple[float, float]:
def to_align_offset(self, align: Tuple[Align, Align]) -> List[float]:
"""Amount to move object to achieve the desired alignment"""
align_offset = []
for i in range(2):