Fix calculation of mask bounds for vertical orientation

This commit is contained in:
Rei Koshka
2023-11-23 01:48:18 +03:00
parent 470ab44a33
commit 095a5c11c8
+1 -1
View File
@@ -62,7 +62,7 @@ class ComfyCouple:
mask_rect_second_width = width_first
mask_rect_second_height = height
elif orientation == "vertical":
height_first = int(width * center)
height_first = int(height * center)
mask_rect_first_x = 0
mask_rect_first_y = height_first