yes.
This commit is contained in:
parent
5a1cea1cc4
commit
ed4cfe6c3e
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -90,7 +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)
|
||||||
|
print(font.getsize(song_name)[0])
|
||||||
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))
|
||||||
if(font.getsize(artist_name)[0]>160):
|
if(font.getsize(artist_name)[0]>160):
|
||||||
|
|
Loading…
Reference in a new issue