修复:多角色UI重叠

This commit is contained in:
Wuyi无疑 2022-03-31 11:08:34 +08:00 committed by GitHub
parent 02d6e85756
commit 73e128c082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1065,7 +1065,7 @@ async def draw_char_pic(img: Image, char_data: dict, index: int, bg_color: tuple
draw_text.text((73, 18), '{}'.format(str(char_data['fetter'])), text_color, genshin_font(16),
anchor="mm")
char_crop = (75 + 190 * (index % 4), 800 + 100 * (index // 4))
char_crop = (75 + 190 * (index % 4), 900 + 100 * (index // 4))
STATUS.remove(char_data['name'])
img.paste(char_0, char_crop, char_0)