fix: image sizing to force no overflow

This commit is contained in:
2024-07-23 23:12:12 +02:00
parent df0eee091c
commit d008163e32
+1 -1
View File
@@ -215,7 +215,7 @@ for card_data in cards:
d.append(dw.Rectangle(x=1, y=65, width=x_width-2, height=200))
d.append(
dw.Image(
x=0, y=65, width=x_width, height=200, path=card_skin_data["image_path"]
x=border_width_x, y=65, width=x_width-(border_width_x*2), height=200, path=card_skin_data["image_path"]
)
)
d.append(dw.Rectangle(x=2, y=65-1, width=border_width_x-2, height=200+2))