🐛 fix(GoogleStockImageEngine): Center image in frame

This commit is contained in:
2024-04-22 10:35:40 +02:00
parent 3b03b86ccc
commit 4cb6844d55

View File

@@ -59,7 +59,7 @@ class GoogleStockImageEngine(BaseStockImageEngine):
img.with_duration(end - start)
.with_start(start)
.with_effects([vfx.Resize(width=max_width)])
.with_position(("center", "top"))
.with_position(("center", "center"))
)
return img