mirror of
https://github.com/Murasame-Dev/McStatus-Img.git
synced 2025-12-16 05:07:57 +00:00
trim
This commit is contained in:
parent
a38b91dd52
commit
be354feb4e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue