This commit is contained in:
Lukas Schulz 2020-12-20 01:52:52 +01:00
parent 8069bdd5d5
commit a7f1aed555

View file

@ -110,7 +110,7 @@ def drawCanvas():
def scrolling_text(text,offset_x=0,offset_y=0):
scroll_frame_time = (10/2)/(font.getsize(text)[0]-160)
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