From 47f2ee5ec71f4ff0487fc5b5e7676a9b3ab0fdee Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 01:05:02 +0100 Subject: [PATCH] yes. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0a621e6..f6309c7 100644 --- a/main.py +++ b/main.py @@ -103,7 +103,7 @@ def drawCanvas(): def scrolling_text(text,offset_x=0,offset_y=0): for i in range(font.getsize(text)[0]-160): - scrolled_text_canvas = Image.new('RGB', (10, 32), color = 'black') + scrolled_text_canvas = Image.new('RGB', (160, 32), color = 'black') scrolled_text = ImageDraw.Draw(scrolled_text_canvas) scrolled_text.text((-i,0), text) showImage(scrolled_text_canvas, offset_x, offset_y)