[182] cast to int

This commit is contained in:
meisnate12 2022-11-02 08:48:55 -04:00
parent 8fbf645cb4
commit 1a9df0f38d
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
1.17.3-develop181
1.17.3-develop182

View file

@ -436,9 +436,9 @@ class Overlay:
else:
return value
ho = new_cords[0] if new_cords and self.horizontal_offset is None else self.horizontal_offset
ho = int(new_cords[0]) if new_cords and self.horizontal_offset is None else self.horizontal_offset
ha = new_cords[1] if new_cords and self.horizontal_align is None else self.horizontal_align
vo = new_cords[2] if new_cords and self.vertical_offset is None else self.vertical_offset
vo = int(new_cords[2]) if new_cords and self.vertical_offset is None else self.vertical_offset
va = new_cords[3] if new_cords and self.vertical_align is None else self.vertical_align
return get_cord(ho, canvas_box[0], box[0], ha), get_cord(vo, canvas_box[1], box[1], va)