From be6267664510cea4e045b05c40b788a26d071b86 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 1 Feb 2022 10:58:59 +0700 Subject: [PATCH] int --- driver/design/thumbnail.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/driver/design/thumbnail.py b/driver/design/thumbnail.py index ef2ddc6..9861d7e 100644 --- a/driver/design/thumbnail.py +++ b/driver/design/thumbnail.py @@ -32,14 +32,14 @@ async def thumb(thumbnail, title, userid, ctitle): font = ImageFont.truetype("driver/source/regular.ttf", 52) font2 = ImageFont.truetype("driver/source/medium.ttf", 76) draw.text( - (25, 610), + (25, 608), f"{title[:18]}...", fill="black", font=font2, ) draw.text( - (27, 535), - f"Playing on {ctitle[:8]}...", + (27, 533), + f"Playing on {ctitle[:12]}", fill="black", font=font, )