feat : actual aspect ratios images
release-tag / release-image (push) Successful in 12s

Closes #5
This commit is contained in:
2024-08-05 18:32:03 +02:00
parent b7abbb646d
commit 11dbcef970
+1
View File
@@ -220,6 +220,7 @@ for card_data in cards:
width=x_width - (border_width_x * 2),
height=200,
path=card_skin_data["image_path"],
preserveAspectRatio="xMidYMid slice",
)
)
d.append(dw.Rectangle(x=2, y=65 - 1, width=border_width_x - 2, height=200 + 2))