diff --git a/main.py b/main.py index ada2ec0..1f97614 100644 --- a/main.py +++ b/main.py @@ -112,7 +112,7 @@ def drawCanvas(): def scrolling_text(text,offset_x=0,offset_y=0): scroll_frame_time = (10/2)/(font.getsize(text)[0]-160) print(scroll_frame_time) - if(scroll_frame_time<0.1): + if(scroll_frame_time>0.1): scroll_frame_time = 0.1 for i in range(font.getsize(text)[0]-160): scrolled_text_canvas = Image.new('RGB', (160, 11), color = 'black')