This commit is contained in:
Lukas Schulz 2020-12-20 01:00:00 +01:00
parent ed4cfe6c3e
commit 3505f7b119

View file

@ -92,6 +92,7 @@ def drawCanvas():
showImage(canvas)
print(font.getsize(song_name)[0])
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))
if(font.getsize(artist_name)[0]>160):
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y))