mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[182] cast to int
This commit is contained in:
parent
8fbf645cb4
commit
1a9df0f38d
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.17.3-develop181
|
1.17.3-develop182
|
||||||
|
|
|
@ -436,9 +436,9 @@ class Overlay:
|
||||||
else:
|
else:
|
||||||
return value
|
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
|
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
|
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)
|
return get_cord(ho, canvas_box[0], box[0], ha), get_cord(vo, canvas_box[1], box[1], va)
|
||||||
|
|
Loading…
Reference in a new issue