yes.
This commit is contained in:
parent
803aeb696c
commit
e01eff0857
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -89,7 +89,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)
|
||||||
font = ImageFont.truetype()
|
font = ImageFont.load_default()
|
||||||
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(ImageDraw.textlength(artist_name)>160):
|
if(ImageDraw.textlength(artist_name)>160):
|
||||||
|
|
Loading…
Reference in a new issue