master
Lukas Schulz 2020-12-20 01:54:49 +01:00
parent fe160d2f15
commit 036c7d29e3
1 changed files with 2 additions and 2 deletions

View File

@ -93,12 +93,12 @@ def drawCanvas():
songinfo = ImageDraw.Draw(canvas)
songinfo_offset_x = 33
songinfo_offset_y = 101
songinfo.text((songinfo_offset_x,songinfo_offset_y+10), song_name)
songinfo.text((songinfo_offset_x,songinfo_offset_y+11), song_name)
songinfo.text((songinfo_offset_x,songinfo_offset_y), artist_name)
#scrolling_text(song_name,songinfo_offset_x, songinfo_offset_y+10)
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+11))
x.start()
print('scrolling text started')
if(font.getsize(artist_name)[0]>160):