yes.
This commit is contained in:
parent
943fecea0d
commit
741f728320
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -90,6 +90,7 @@ def drawCanvas():
|
||||||
songinfo.text((songinfo_offset_x,songinfo_offset_y+10), song_name)
|
songinfo.text((songinfo_offset_x,songinfo_offset_y+10), song_name)
|
||||||
songinfo.text((songinfo_offset_x,songinfo_offset_y), artist_name)
|
songinfo.text((songinfo_offset_x,songinfo_offset_y), artist_name)
|
||||||
showImage(canvas)
|
showImage(canvas)
|
||||||
|
scrolling_text(song_name,songinfo_offset_x, songinfo_offset_y+10)
|
||||||
if(font.getsize(song_name)[0]>160):
|
if(font.getsize(song_name)[0]>160):
|
||||||
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))
|
||||||
x.start()
|
x.start()
|
||||||
|
|
Loading…
Reference in a new issue