This commit is contained in:
Lukas Schulz 2020-12-20 01:01:25 +01:00
parent f0b92c3038
commit 943fecea0d

View file

@ -93,6 +93,7 @@ def drawCanvas():
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()
print('scrolling text started')
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))
y.start() y.start()