yes.
This commit is contained in:
parent
ed4cfe6c3e
commit
3505f7b119
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -92,6 +92,7 @@ def drawCanvas():
|
||||||
showImage(canvas)
|
showImage(canvas)
|
||||||
print(font.getsize(song_name)[0])
|
print(font.getsize(song_name)[0])
|
||||||
if(font.getsize(song_name)[0]>160):
|
if(font.getsize(song_name)[0]>160):
|
||||||
|
print('scrolling text')
|
||||||
x = threading.Thread(target=scrolling_text,args=(song_name,songinfo_offset_x,songinfo_offset_y+10))
|
x = threading.Thread(target=scrolling_text,args=(song_name,songinfo_offset_x,songinfo_offset_y+10))
|
||||||
if(font.getsize(artist_name)[0]>160):
|
if(font.getsize(artist_name)[0]>160):
|
||||||
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y))
|
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y))
|
||||||
|
|
Loading…
Reference in a new issue