From f0a03867de82571de0d66660795a7cbd9e2185ed Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 12:31:47 +0100 Subject: [PATCH] yes. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ca6611f..f6642c4 100644 --- a/main.py +++ b/main.py @@ -119,8 +119,8 @@ def drawCanvas(): def scrolling_text(text,offset_x=0,offset_y=0): scroll_frame_time = (8/2)/(font.getsize(text)[0]-160) #print(scroll_frame_time) - if(scroll_frame_time>0.1): - scroll_frame_time = 0.1 + if(scroll_frame_time>0.03): + scroll_frame_time = 0.03 for i in range((font.getsize(text)[0]-160)): scrolled_text_canvas = Image.new('RGB', (160, 11), color = 'black') scrolled_text = ImageDraw.Draw(scrolled_text_canvas)