yes.
This commit is contained in:
parent
3340507cd6
commit
3c1f5309ff
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -111,6 +111,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):
|
||||
scroll_frame_time = 0.1
|
||||
for i in range(font.getsize(text)[0]-160):
|
||||
|
|
Loading…
Reference in a new issue