yes.
This commit is contained in:
parent
523f413af2
commit
d7151da47f
1 changed files with 3 additions and 1 deletions
2
main.py
2
main.py
|
@ -94,6 +94,8 @@ def drawCanvas():
|
|||
if(ImageDraw.textlength(artist_name)>160):
|
||||
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y))
|
||||
|
||||
|
||||
|
||||
def scrolling_text(text,offset_x=0,offset_y=0):
|
||||
for i in range(160-ImageDraw.textlength(text)):
|
||||
scrolled_text_canvas = Image.new('RGB', (10, 32), color = 'black')
|
||||
|
|
Loading…
Reference in a new issue