diff --git a/VERSION b/VERSION index 84cc9c22..8dd15dbd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop181 +1.17.3-develop182 diff --git a/modules/overlay.py b/modules/overlay.py index 1c02db1a..a21cd9d4 100644 --- a/modules/overlay.py +++ b/modules/overlay.py @@ -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)