This commit is contained in:
Lukas Schulz 2020-12-20 01:30:22 +01:00
parent a24dd7fee0
commit cf301b54d3

View file

@ -98,7 +98,7 @@ def drawCanvas():
#scrolling_text(song_name,songinfo_offset_x, songinfo_offset_y+10) #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), daemon=True)
x.start() x.start()
print('scrolling text started') print('scrolling text started')
if(font.getsize(artist_name)[0]>160): if(font.getsize(artist_name)[0]>160):