yes.
This commit is contained in:
parent
a7f1aed555
commit
fe160d2f15
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -111,7 +111,7 @@ def drawCanvas():
|
||||||
|
|
||||||
def scrolling_text(text,offset_x=0,offset_y=0):
|
def scrolling_text(text,offset_x=0,offset_y=0):
|
||||||
scroll_frame_time = (8/2)/(font.getsize(text)[0]-160)
|
scroll_frame_time = (8/2)/(font.getsize(text)[0]-160)
|
||||||
print(scroll_frame_time)
|
#print(scroll_frame_time)
|
||||||
if(scroll_frame_time>0.1):
|
if(scroll_frame_time>0.1):
|
||||||
scroll_frame_time = 0.1
|
scroll_frame_time = 0.1
|
||||||
for i in range(font.getsize(text)[0]-160):
|
for i in range(font.getsize(text)[0]-160):
|
||||||
|
|
Loading…
Reference in a new issue