From d7151da47f29de401b164a5556144c819ce411f8 Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 00:47:41 +0100 Subject: [PATCH] yes. --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index be97673..f032d42 100644 --- a/main.py +++ b/main.py @@ -94,7 +94,9 @@ def drawCanvas(): if(ImageDraw.textlength(artist_name)>160): y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y)) - def scrolling_text(text,offset_x=0,offset_y=0): + + +def scrolling_text(text,offset_x=0,offset_y=0): for i in range(160-ImageDraw.textlength(text)): scrolled_text_canvas = Image.new('RGB', (10, 32), color = 'black') scrolled_text = ImageDraw.Draw(scrolled_text)