From be354feb4e3afe5c6bcb0605e57c8cd4ee227b3c Mon Sep 17 00:00:00 2001 From: quqiOnfree Date: Tue, 2 Sep 2025 21:30:49 +0800 Subject: [PATCH] trim --- create_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_image.py b/create_image.py index ffcfe60..f6074b0 100644 --- a/create_image.py +++ b/create_image.py @@ -106,13 +106,13 @@ def create_image(background: bytes, for i in range(motd_list_size): draw_motd_text_with_shadow(image, motd_list[i], - width // 2.5, + width / 2.5, start_posy + font_size * 1.2 * i, font) for i in range(text_list_size): draw_text_with_shadow(image, text_list[i], - width // 2.5, + width / 2.5, start_posy + font_size * 1.2 * (i + motd_list_size), font)