mirror of
https://github.com/Murasame-Dev/McStatus-Img.git
synced 2025-12-16 13:17:40 +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):
|
for i in range(motd_list_size):
|
||||||
draw_motd_text_with_shadow(image,
|
draw_motd_text_with_shadow(image,
|
||||||
motd_list[i],
|
motd_list[i],
|
||||||
width // 2.5,
|
width / 2.5,
|
||||||
start_posy + font_size * 1.2 * i,
|
start_posy + font_size * 1.2 * i,
|
||||||
font)
|
font)
|
||||||
for i in range(text_list_size):
|
for i in range(text_list_size):
|
||||||
draw_text_with_shadow(image,
|
draw_text_with_shadow(image,
|
||||||
text_list[i],
|
text_list[i],
|
||||||
width // 2.5,
|
width / 2.5,
|
||||||
start_posy + font_size * 1.2 * (i + motd_list_size),
|
start_posy + font_size * 1.2 * (i + motd_list_size),
|
||||||
font)
|
font)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue